summaryrefslogtreecommitdiff
path: root/image/mng.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2008-09-15 20:23:02 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2008-09-15 20:23:02 +0000
commitd3270ed648c971b5708c84188e6d7ce184801468 (patch)
tree6ca2aa5596c1e405d2e1859bdc5e14524d5a89d9 /image/mng.c
parent5c9f7937f5b4779e903eb39385907f3f793a723e (diff)
downloadnetsurf-d3270ed648c971b5708c84188e6d7ce184801468.tar.gz
netsurf-d3270ed648c971b5708c84188e6d7ce184801468.tar.bz2
Add libpng support. Default to off.
svn path=/trunk/netsurf/; revision=5330
Diffstat (limited to 'image/mng.c')
-rw-r--r--image/mng.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/image/mng.c b/image/mng.c
index fe0804976..6daf662ea 100644
--- a/image/mng.c
+++ b/image/mng.c
@@ -23,6 +23,9 @@
#include "utils/config.h"
#ifdef WITH_MNG
+/* This must come first due to libpng issues */
+#include "content/content.h"
+
#include <assert.h>
#include <stdbool.h>
#include <string.h>
@@ -30,7 +33,6 @@
#include <sys/time.h>
#include <time.h>
#include <libmng.h>
-#include "content/content.h"
#include "desktop/browser.h"
#include "desktop/options.h"
#include "desktop/plotters.h"