summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-09-15 20:54:03 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-09-15 20:54:03 +0000
commitc446540109677b639cdba2ff3f89899a4866c571 (patch)
tree1cd0e6ec043b1a7400a823622132b7452012d663 /content
parentf2d6c62d7b4902c8d9cff8732a06a24b5eaad673 (diff)
downloadnetsurf-c446540109677b639cdba2ff3f89899a4866c571.tar.gz
netsurf-c446540109677b639cdba2ff3f89899a4866c571.tar.bz2
Fix build if NETSURF_USE_PNG := yes and NETSURF_USE_MNG := no
svn path=/trunk/netsurf/; revision=5332
Diffstat (limited to 'content')
-rw-r--r--content/content_type.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/content/content_type.h b/content/content_type.h
index a7c59e85a..b183a45e8 100644
--- a/content/content_type.h
+++ b/content/content_type.h
@@ -43,8 +43,10 @@ typedef enum {
CONTENT_BMP,
CONTENT_ICO,
#endif
-#ifdef WITH_MNG
+#if defined(WITH_MNG) || defined(WITH_PNG)
CONTENT_PNG,
+#endif
+#ifdef WITH_MNG
CONTENT_JNG,
CONTENT_MNG,
#endif