diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2008-09-15 20:23:02 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2008-09-15 20:23:02 +0000 |
commit | d3270ed648c971b5708c84188e6d7ce184801468 (patch) | |
tree | 6ca2aa5596c1e405d2e1859bdc5e14524d5a89d9 /image/jpeg.c | |
parent | 5c9f7937f5b4779e903eb39385907f3f793a723e (diff) | |
download | netsurf-d3270ed648c971b5708c84188e6d7ce184801468.tar.gz netsurf-d3270ed648c971b5708c84188e6d7ce184801468.tar.bz2 |
Add libpng support. Default to off.
svn path=/trunk/netsurf/; revision=5330
Diffstat (limited to 'image/jpeg.c')
-rw-r--r-- | image/jpeg.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/image/jpeg.c b/image/jpeg.c index d49d49a4c..6bc39766e 100644 --- a/image/jpeg.c +++ b/image/jpeg.c @@ -26,6 +26,9 @@ #include "utils/config.h" #ifdef WITH_JPEG +/* This must come first due to libpng issues */ +#include "content/content.h" + #include <assert.h> #include <setjmp.h> #include <string.h> @@ -33,7 +36,6 @@ #include <stdlib.h> #define JPEG_INTERNAL_OPTIONS #include "jpeglib.h" -#include "content/content.h" #include "desktop/plotters.h" #include "image/bitmap.h" #include "image/jpeg.h" |