summaryrefslogtreecommitdiffstats
path: root/ext/jpeg/gstjpegenc.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/jpeg/gstjpegenc.h')
-rw-r--r--ext/jpeg/gstjpegenc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/jpeg/gstjpegenc.h b/ext/jpeg/gstjpegenc.h
index fdd38a22..a31b3145 100644
--- a/ext/jpeg/gstjpegenc.h
+++ b/ext/jpeg/gstjpegenc.h
@@ -22,9 +22,11 @@
#define __GST_JPEGENC_H__
-#include <config.h>
#include <gst/gst.h>
-
+/* this is a hack hack hack to get around jpeglib header bugs... */
+#ifdef HAVE_STDLIB_H
+# undef HAVE_STDLIB_H
+#endif
#include <jpeglib.h>
#ifdef __cplusplus