From: DRC Date: Tue, 4 Oct 2016 18:25:34 +0000 (-0500) Subject: Fix broken build w/ Visual C++ < 2010 X-Git-Tag: 1.5.2~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a0047bdea4d11dfeefb9ea797865b1a2ea0a665e;p=libjpeg-turbo Fix broken build w/ Visual C++ < 2010 Regression introduced by dfefba77520ded5c5fd4864e76352a5f3eb23e74 (Windows doesn't always have stdint.h.) --- diff --git a/jmemmgr.c b/jmemmgr.c index b17c5c5..8dfb633 100644 --- 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 +#endif #include #ifndef NO_GETENV