summaryrefslogtreecommitdiff
path: root/content/content.h
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 /content/content.h
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 'content/content.h')
-rw-r--r--content/content.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/content/content.h b/content/content.h
index 2161a07f9..d444f6ed8 100644
--- a/content/content.h
+++ b/content/content.h
@@ -26,6 +26,13 @@
#ifndef _NETSURF_DESKTOP_CONTENT_H_
#define _NETSURF_DESKTOP_CONTENT_H_
+/* Irritatingly this must come first, or odd include errors
+ * will occur to do with setjmp.h.
+ */
+#ifdef WITH_PNG
+#include "image/png.h"
+#endif
+
#include <stdint.h>
#include "utils/config.h"
#include "content/content_type.h"
@@ -208,6 +215,9 @@ struct content {
#ifdef WITH_RSVG
struct content_rsvg_data rsvg;
#endif
+#ifdef WITH_PNG
+ struct content_png_data png;
+#endif
} data;
/**< URL for refresh request, in standard form as from url_join. */