diff options
-rw-r--r-- | src/lib/emile/emile_image.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/lib/emile/emile_image.c b/src/lib/emile/emile_image.c index 9f0a3ac18e..3432ccf9c5 100644 --- a/src/lib/emile/emile_image.c +++ b/src/lib/emile/emile_image.c @@ -8,6 +8,9 @@ #ifdef _WIN32 #include <winsock2.h> +#include <Evil.h> +#define HAVE_BOOLEAN /* This prevents libjpeg to redefine boolean */ +#define XMD_H /* This prevents libjpeg to redefine INT32 */ #endif #ifdef ENABLE_LIBLZ4 @@ -16,19 +19,11 @@ #include "lz4.h" #endif -#ifdef _WIN32 -#define XMD_H /* This prevents libjpeg to redefine INT32 */ -#endif - #include <stdio.h> #include <setjmp.h> #include <jpeglib.h> #include <jerror.h> -#ifdef _WIN32 -#include <Evil.h> -#endif - #include "rg_etc1.h" #include "Emile.h" #include "emile_private.h" |