summaryrefslogtreecommitdiff
path: root/riscos/png.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2004-01-05 02:10:59 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2004-01-05 02:10:59 +0000
commit62245d13ec60e3c0fc78221f0a8f754f33c2b6a1 (patch)
tree5bbe5b8a63941c2d3b7f71fc53ceedcbc1d92cd6 /riscos/png.c
parent91e767cdfa11225dd370471892000e107bb06726 (diff)
downloadnetsurf-62245d13ec60e3c0fc78221f0a8f754f33c2b6a1.tar.gz
netsurf-62245d13ec60e3c0fc78221f0a8f754f33c2b6a1.tar.bz2
[project @ 2004-01-05 02:10:59 by jmb]
Add ability to turn off browser features in build. This may be useful when hunting down bugs. svn path=/import/netsurf/; revision=480
Diffstat (limited to 'riscos/png.c')
-rw-r--r--riscos/png.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/riscos/png.c b/riscos/png.c
index d56c5d827..8105ebfe7 100644
--- a/riscos/png.c
+++ b/riscos/png.c
@@ -15,11 +15,13 @@
#include "oslib/colourtrans.h"
#include "oslib/os.h"
#include "oslib/osspriteop.h"
+#include "netsurf/utils/config.h"
#include "netsurf/content/content.h"
#include "netsurf/riscos/png.h"
#include "netsurf/utils/log.h"
#include "netsurf/utils/utils.h"
+#ifdef WITH_PNG
/* libpng uses names starting png_, so use nspng_ here to avoid clashes */
#ifndef NO_IFC
@@ -402,4 +404,4 @@ void nspng_redraw(struct content *c, long x, long y,
xfree(table);
}
-
+#endif