summaryrefslogtreecommitdiff
path: root/image/ico.h
diff options
context:
space:
mode:
Diffstat (limited to 'image/ico.h')
-rw-r--r--image/ico.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/image/ico.h b/image/ico.h
index 5b436c6eb..d11120015 100644
--- a/image/ico.h
+++ b/image/ico.h
@@ -19,6 +19,9 @@
#ifndef _NETSURF_IMAGE_ICO_H_
#define _NETSURF_IMAGE_ICO_H_
+#include "utils/config.h"
+#ifdef WITH_BMP
+
#include <stdbool.h>
#include "image/bmpread.h"
@@ -41,4 +44,6 @@ bool nsico_redraw_tiled(struct content *c, int x, int y,
float scale, unsigned long background_colour,
bool repeat_x, bool repeat_y);
+#endif /* WITH_BMP */
+
#endif