ref: 44cbf7cdc4d9c545004218ffc10c41b2fab7c38c
parent: 7ea3cbeb28b39fe56c7d791361f969b255fb59bd
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Mon Jul 8 10:26:03 EDT 2002
Remove the internal include of stdint.h from jbig2.h, enforcing the requirement that the calling C file to do so. git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@120 ded80894-8fb9-0310-811b-c03f3676ab4d
--- a/jbig2.h
+++ b/jbig2.h
@@ -8,14 +8,12 @@
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
- $Id: jbig2.h,v 1.12 2002/07/04 16:33:44 giles Exp $
+ $Id: jbig2.h,v 1.13 2002/07/08 14:26:02 giles Exp $
*/
#ifdef __cplusplus
extern "C" {
#endif
-
-#include <stdint.h> // for C99 types -- need a more portable sol'n
/* warning levels */
typedef enum {
--- a/jbig2_image_pbm.c
+++ b/jbig2_image_pbm.c
@@ -8,8 +8,16 @@
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
- $Id: jbig2_image_pbm.c,v 1.7 2002/07/04 13:34:29 giles Exp $
+ $Id: jbig2_image_pbm.c,v 1.8 2002/07/08 14:26:03 giles Exp $
*/
+
+#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>