diff options
Diffstat (limited to 'content/content.h')
-rw-r--r-- | content/content.h | 10 |
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. */ |