summaryrefslogtreecommitdiff
path: root/content/handlers/image
diff options
context:
space:
mode:
Diffstat (limited to 'content/handlers/image')
-rw-r--r--content/handlers/image/Makefile2
-rw-r--r--content/handlers/image/svg.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/content/handlers/image/Makefile b/content/handlers/image/Makefile
index 5851a1c43..541cd2cf9 100644
--- a/content/handlers/image/Makefile
+++ b/content/handlers/image/Makefile
@@ -12,4 +12,4 @@ S_IMAGE_$(NETSURF_USE_NSSVG) += svg.c
S_IMAGE_$(NETSURF_USE_RSVG) += rsvg.c
S_IMAGE_$(NETSURF_USE_VIDEO) += video.c
-S_IMAGE := $(addprefix image/,$(S_IMAGE_YES))
+S_IMAGE := $(S_IMAGE_YES)
diff --git a/content/handlers/image/svg.c b/content/handlers/image/svg.c
index c91b00650..3eff684fd 100644
--- a/content/handlers/image/svg.c
+++ b/content/handlers/image/svg.c
@@ -23,13 +23,13 @@
#include <assert.h>
#include <limits.h>
#include <string.h>
+#include <stdlib.h>
#include <svgtiny.h>
#include "utils/messages.h"
#include "utils/utils.h"
#include "content/content_protected.h"
-#include "css/css.h"
#include "desktop/plotters.h"
#include "svg.h"