summaryrefslogtreecommitdiff
path: root/image/mng.h
diff options
context:
space:
mode:
Diffstat (limited to 'image/mng.h')
-rw-r--r--image/mng.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/image/mng.h b/image/mng.h
index 45b0585b1..765919e36 100644
--- a/image/mng.h
+++ b/image/mng.h
@@ -23,6 +23,9 @@
#ifndef _NETSURF_IMAGE_MNG_H_
#define _NETSURF_IMAGE_MNG_H_
+#include "utils/config.h"
+#ifdef WITH_MNG
+
#include <stdbool.h>
#include <libmng.h>
@@ -51,4 +54,7 @@ bool nsmng_redraw_tiled(struct content *c, int x, int y,
int clip_x0, int clip_y0, int clip_x1, int clip_y1,
float scale, unsigned long background_colour,
bool repeat_x, bool repeat_y);
+
+#endif /* WITH_MNG */
+
#endif