summaryrefslogtreecommitdiff
path: root/riscos/gif.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/gif.c')
-rw-r--r--riscos/gif.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/riscos/gif.c b/riscos/gif.c
index 7f2acb40b..1363730fc 100644
--- a/riscos/gif.c
+++ b/riscos/gif.c
@@ -15,11 +15,14 @@
#include "oslib/colourtrans.h"
#include "oslib/os.h"
#include "oslib/osspriteop.h"
+#include "netsurf/utils/config.h"
#include "netsurf/content/content.h"
#include "netsurf/riscos/gif.h"
#include "netsurf/utils/log.h"
#include "netsurf/utils/utils.h"
+#ifdef WITH_GIF
+
static osspriteop_area *create_buffer_sprite(struct content *c, anim a);
void nsgif_init(void)
@@ -217,3 +220,4 @@ static osspriteop_area *create_buffer_sprite( struct content *c, anim a )
return result;
}
+#endif