define PNG_SKIP_SETJMP_CHECK to fix conflict with Python.h
[enigma2.git] / lib / gdi / picload.cpp
index c162f89d9c81370649355c6423e4ce8402f75535..0ce10c09806e70099b27b98f2a1ea35a26e92577 100644 (file)
@@ -1,4 +1,5 @@
-#include <png.h>       // must be included before Python.h because of setjmp
+#define PNG_SKIP_SETJMP_CHECK
+#include <png.h>
 #include <fcntl.h>
 
 #include <lib/gdi/picload.h>