jbig2dec

Ralph Giles <[email protected]> Mon, 08 Jul 2002 07:26:05 -0700
Newsgroups gmane.comp.printing.ghostscript.jbig2dec.cvs
Message-ID <[email protected]>
Update of /cvsroot/jbig2dec/jbig2dec
In directory usw-pr-cvs1:/tmp/cvs-serv666

Modified Files:
	jbig2.h jbig2_image_pbm.c 
Log Message:
Remove the internal include of stdint.h from jbig2.h, enforcing the requirement
that the calling C file to do so.


Index: jbig2.h
===================================================================
RCS file: /cvsroot/jbig2dec/jbig2dec/jbig2.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- jbig2.h	4 Jul 2002 16:33:44 -0000	1.12
+++ jbig2.h	8 Jul 2002 14:26:02 -0000	1.13
@@ -15,8 +15,6 @@
 extern "C" {
 #endif
 
-#include <stdint.h>	// for C99 types -- need a more portable sol'n
-
 /* warning levels */
 typedef enum {
   JBIG2_SEVERITY_DEBUG,

Index: jbig2_image_pbm.c
===================================================================
RCS file: /cvsroot/jbig2dec/jbig2dec/jbig2_image_pbm.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- jbig2_image_pbm.c	4 Jul 2002 13:34:29 -0000	1.7
+++ jbig2_image_pbm.c	8 Jul 2002 14:26:03 -0000	1.8
@@ -11,6 +11,14 @@
     $Id$
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#include "config_types.h"
+#endif
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
 #include <stdio.h>
 #include <ctype.h>