From d3270ed648c971b5708c84188e6d7ce184801468 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Mon, 15 Sep 2008 20:23:02 +0000 Subject: Add libpng support. Default to off. svn path=/trunk/netsurf/; revision=5330 --- content/content.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'content/content.h') 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 #include "utils/config.h" #include "content/content_type.h" @@ -207,6 +214,9 @@ struct content { #endif #ifdef WITH_RSVG struct content_rsvg_data rsvg; +#endif +#ifdef WITH_PNG + struct content_png_data png; #endif } data; -- cgit v1.2.3