summaryrefslogtreecommitdiff
path: root/image/gif.h
diff options
context:
space:
mode:
Diffstat (limited to 'image/gif.h')
-rw-r--r--image/gif.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/image/gif.h b/image/gif.h
index f6308b856..4a1a5c4c5 100644
--- a/image/gif.h
+++ b/image/gif.h
@@ -19,6 +19,9 @@
#ifndef _NETSURF_IMAGE_GIF_H_
#define _NETSURF_IMAGE_GIF_H_
+#include "utils/config.h"
+#ifdef WITH_GIF
+
#include <stdbool.h>
#include "image/gifread.h"
@@ -42,4 +45,6 @@ bool nsgif_redraw_tiled(struct content *c, int x, int y,
float scale, unsigned long background_colour,
bool repeat_x, bool repeat_y);
+#endif /* WITH_GIF */
+
#endif