diff options
-rw-r--r-- | jchuff.c | 2 | ||||
-rw-r--r-- | jconfig.h.in | 3 | ||||
-rw-r--r-- | jdhuff.c | 2 |
3 files changed, 7 insertions, 0 deletions
@@ -21,7 +21,9 @@ #include "jpeglib.h" #include "jchuff.h" /* Declarations shared with jcphuff.c */ #include <limits.h> +#ifdef HAVE_STDINT_H #include <stdint.h> +#endif /* * NOTE: If USE_CLZ_INTRINSIC is defined, then clz/bsr instructions will be diff --git a/jconfig.h.in b/jconfig.h.in index 42d86f2..fbf64a5 100644 --- a/jconfig.h.in +++ b/jconfig.h.in @@ -32,6 +32,9 @@ /* Define to 1 if you have the <stdlib.h> header file. */ #undef HAVE_STDLIB_H +/* Define to 1 if you have the <stdint.h> header file. */ +#undef HAVE_STDINT_H + /* Define to 1 if the system has the type `unsigned char'. */ #undef HAVE_UNSIGNED_CHAR @@ -22,7 +22,9 @@ #include "jdhuff.h" /* Declarations shared with jdphuff.c */ #include "jpegcomp.h" #include "jstdhuff.c" +#ifdef HAVE_STDINT_H #include <stdint.h> +#endif /* |