summaryrefslogtreecommitdiffstats
path: root/src/suspend.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/suspend.c')
-rw-r--r--src/suspend.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/suspend.c b/src/suspend.c
index 5a6bda1..5bc6d0a 100644
--- a/src/suspend.c
+++ b/src/suspend.c
@@ -42,6 +42,12 @@
#define AM_MEMORY_MANAGER /* we define jvirt_Xarray_control structs */
#ifdef HAVE_JPEGLIB_H
+#ifdef __MINGW32__
+#ifndef HAVE_BOOLEAN
+#define HAVE_BOOLEAN
+typedef int boolean;
+#endif
+#endif
#include <jpeglib.h>
#endif
#include "types.h"