summaryrefslogtreecommitdiff
path: root/riscos/draw.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/draw.h')
-rw-r--r--riscos/draw.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/riscos/draw.h b/riscos/draw.h
index 81c2a1797..a55058767 100644
--- a/riscos/draw.h
+++ b/riscos/draw.h
@@ -23,6 +23,9 @@
#ifndef _NETSURF_RISCOS_DRAW_H_
#define _NETSURF_RISCOS_DRAW_H_
+#include "utils/config.h"
+#ifdef WITH_DRAW
+
#include <stdbool.h>
struct content;
@@ -38,4 +41,6 @@ bool draw_redraw(struct content *c, int x, int y,
int clip_x0, int clip_y0, int clip_x1, int clip_y1,
float scale, colour background_colour);
+#endif /* WITH_DRAW */
+
#endif