diff options
Diffstat (limited to 'src/sp-image.cpp')
| -rw-r--r-- | src/sp-image.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sp-image.cpp b/src/sp-image.cpp index e23dddaf6..49350bd69 100644 --- a/src/sp-image.cpp +++ b/src/sp-image.cpp @@ -15,6 +15,9 @@ # include "config.h" #endif +// This has to be included prior to anything that includes setjmp.h, it croaks otherwise +#include <png.h> + #include <cstring> #include <string> #include <libnr/nr-matrix-fns.h> @@ -45,7 +48,6 @@ #include "libnr/nr-matrix-fns.h" #include "io/sys.h" -#include <png.h> #if ENABLE_LCMS #include "color-profile-fns.h" #include "color-profile.h" |
