summaryrefslogtreecommitdiff
path: root/image/rsvg.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2011-08-28 14:29:15 +0000
committerVincent Sanders <vince@netsurf-browser.org>2011-08-28 14:29:15 +0000
commitcd554e6f1e42c440c791845a1a635415b23a19a2 (patch)
tree7079b2d0e4e4a24c9f5687d6cee9ce3b0c93b2f9 /image/rsvg.c
parent401072e305c152b42d99d94b2283cf928562f132 (diff)
downloadnetsurf-cd554e6f1e42c440c791845a1a635415b23a19a2.tar.gz
netsurf-cd554e6f1e42c440c791845a1a635415b23a19a2.tar.bz2
make image content handlers build conditional from teh makefile
svn path=/trunk/netsurf/; revision=12673
Diffstat (limited to 'image/rsvg.c')
-rw-r--r--image/rsvg.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/image/rsvg.c b/image/rsvg.c
index 678cd862d..c322773c8 100644
--- a/image/rsvg.c
+++ b/image/rsvg.c
@@ -27,9 +27,6 @@
* function to render it for redraw requests.
*/
-#include "utils/config.h"
-#ifdef WITH_RSVG
-
#include <stdbool.h>
#include <assert.h>
#include <string.h>
@@ -38,7 +35,6 @@
#include <librsvg/rsvg.h>
#include <librsvg/rsvg-cairo.h>
-#include "image/rsvg.h"
#include "content/content_protected.h"
#include "desktop/plotters.h"
#include "image/bitmap.h"
@@ -47,6 +43,8 @@
#include "utils/messages.h"
#include "utils/talloc.h"
+#include "image/rsvg.h"
+
typedef struct rsvg_content {
struct content base;
@@ -315,5 +313,3 @@ static const char *rsvg_types[] = {
CONTENT_FACTORY_REGISTER_TYPES(nsrsvg, rsvg_types, rsvg_content_handler);
-
-#endif /* WITH_RSVG */