summaryrefslogtreecommitdiff
path: root/image/png.h
diff options
context:
space:
mode:
Diffstat (limited to 'image/png.h')
-rw-r--r--image/png.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/image/png.h b/image/png.h
index 521881136..00f41adf3 100644
--- a/image/png.h
+++ b/image/png.h
@@ -20,6 +20,9 @@
#ifndef _NETSURF_RISCOS_PNG_H_
#define _NETSURF_RISCOS_PNG_H_
+#include "utils/config.h"
+
+#ifdef WITH_PNG
#include <stdbool.h>
#include <png.h>
@@ -49,3 +52,5 @@ bool nspng_redraw_tiled(struct content *c, int x, int y, int width, int height,
float scale, unsigned long background_colour,
bool repeat_x, bool repeat_y);
#endif
+
+#endif