From 203b3289b8f590d25a2abf6df95bcaff741a7c2e Mon Sep 17 00:00:00 2001 From: John Tytgat Date: Sat, 26 Jul 2008 23:42:24 +0000 Subject: - Include utils/config.h before each WITH_* test entiry enabling/disabling the object file. - Add same test in corresponding header file (if there is one) - riscos/uri.c: include riscos/uri.h and have function definitions matching the declarations. - Disable PDF debug logging. svn path=/trunk/netsurf/; revision=4769 --- image/nssprite.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'image/nssprite.h') diff --git a/image/nssprite.h b/image/nssprite.h index 06e0a366e..47d989aa7 100644 --- a/image/nssprite.h +++ b/image/nssprite.h @@ -23,6 +23,9 @@ #ifndef _NETSURF_NS_SPRITE_H_ #define _NETSURF_NS_SPRITE_H_ +#include "utils/config.h" +#ifdef WITH_NSSPRITE + #include struct content; @@ -38,4 +41,6 @@ bool nssprite_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_NSSPRITE */ + #endif -- cgit v1.2.3