summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/content.h4
-rw-r--r--content/fetch.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/content/content.h b/content/content.h
index 5ef9f4eea..db98ffa95 100644
--- a/content/content.h
+++ b/content/content.h
@@ -19,9 +19,7 @@
#include "netsurf/content/fetch.h"
#include "netsurf/css/css.h"
#include "netsurf/render/box.h"
-#ifdef riscos
-#include "netsurf/riscos/font.h"
-#endif
+#include "netsurf/render/font.h"
/**
diff --git a/content/fetch.c b/content/fetch.c
index 330f68d3b..a57231bf8 100644
--- a/content/fetch.c
+++ b/content/fetch.c
@@ -60,6 +60,10 @@ static struct fetch *fetch_list = 0;
static size_t fetch_curl_data(void * data, size_t size, size_t nmemb, struct fetch *f);
static size_t fetch_curl_header(char * data, size_t size, size_t nmemb, struct fetch *f);
+#ifdef riscos
+extern const char * const NETSURF_DIR;
+#endif
+
/**
* fetch_init -- initialise the fetcher