summaryrefslogtreecommitdiffstats
path: root/ext/jpeg/gstjpegdec.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/jpeg/gstjpegdec.h')
-rw-r--r--ext/jpeg/gstjpegdec.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/jpeg/gstjpegdec.h b/ext/jpeg/gstjpegdec.h
index 8f77a01c..c497f8e5 100644
--- a/ext/jpeg/gstjpegdec.h
+++ b/ext/jpeg/gstjpegdec.h
@@ -22,9 +22,11 @@
#define __GST_JPEGDEC_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