summaryrefslogtreecommitdiffstats
path: root/src/file_jpg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_jpg.c')
-rw-r--r--src/file_jpg.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/file_jpg.c b/src/file_jpg.c
index fedf2d6..3cb312f 100644
--- a/src/file_jpg.c
+++ b/src/file_jpg.c
@@ -39,6 +39,12 @@
#include <setjmp.h>
#endif
#ifdef HAVE_JPEGLIB_H
+#ifdef __MINGW32__
+#ifndef HAVE_BOOLEAN
+#define HAVE_BOOLEAN
+typedef int boolean;
+#endif
+#endif
#include <jpeglib.h>
#include "suspend.h"
#endif