From: Vadim Zeitlin Date: Fri, 14 Dec 2012 12:29:07 +0000 (+0000) Subject: Fix libtiff compilation with MinGW. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2346ca08534af65e12c0679bf79e9c0a8b2d4ca9?ds=inline Fix libtiff compilation with MinGW. At least some versions of MinGW don't define 64 bit integer types resulting in errors when they're used in libtiff code, so explicitly include basetyps.h to make sure these types are defined. Closes #14897. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/tiff/libtiff/tiffconf.h b/src/tiff/libtiff/tiffconf.h index 4ea897eef3..736a7bbbe1 100644 --- a/src/tiff/libtiff/tiffconf.h +++ b/src/tiff/libtiff/tiffconf.h @@ -7,6 +7,10 @@ #ifndef _TIFFCONF_ #define _TIFFCONF_ +#ifdef __MINGW32__ +#include +#endif + /* Define to 1 if the system has the type `int16'. */ /* #undef HAVE_INT16 */