]> granicus.if.org Git - libjpeg-turbo/commitdiff
Fix broken build w/ Visual C++ < 2010
authorDRC <information@libjpeg-turbo.org>
Tue, 4 Oct 2016 18:25:34 +0000 (13:25 -0500)
committerDRC <information@libjpeg-turbo.org>
Tue, 4 Oct 2016 18:25:34 +0000 (13:25 -0500)
Regression introduced by dfefba77520ded5c5fd4864e76352a5f3eb23e74
(Windows doesn't always have stdint.h.)

jmemmgr.c

index b17c5c5c656e45f53a5ce8d0d5b860228ab59047..8dfb633dae2fc05ecc1f5161c9f030e5fe7adb6e 100644 (file)
--- a/jmemmgr.c
+++ b/jmemmgr.c
@@ -32,7 +32,9 @@
 #include "jinclude.h"
 #include "jpeglib.h"
 #include "jmemsys.h"            /* import the system-dependent declarations */
+#ifndef _WIN32
 #include <stdint.h>
+#endif
 #include <limits.h>
 
 #ifndef NO_GETENV