summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/download.h3
-rw-r--r--riscos/download.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/desktop/download.h b/desktop/download.h
index 4084fa148..dc2befd90 100644
--- a/desktop/download.h
+++ b/desktop/download.h
@@ -28,6 +28,7 @@
struct gui_window;
struct llcache_handle;
+struct nsurl;
/** Type of a download context */
typedef struct download_context download_context;
@@ -74,7 +75,7 @@ void download_context_abort(download_context *ctx);
* \param ctx Context to retrieve URL from
* \return URL object
*/
-nsurl *download_context_get_url(const download_context *ctx);
+struct nsurl *download_context_get_url(const download_context *ctx);
/**
* Retrieve the MIME type for a download
diff --git a/riscos/download.c b/riscos/download.c
index 0d15229a9..f7310d077 100644
--- a/riscos/download.c
+++ b/riscos/download.c
@@ -33,6 +33,8 @@
#include <sys/time.h>
#include <time.h>
#include <curl/curl.h>
+#include <libwapcaplet/libwapcaplet.h>
+
#include "oslib/mimemap.h"
#include "oslib/osargs.h"
#include "oslib/osfile.h"
@@ -51,6 +53,7 @@
#include "utils/nsurl.h"
#include "utils/utf8.h"
#include "utils/utils.h"
+#include "utils/corestrings.h"
#include "riscos/gui.h"
#include "riscos/dialog.h"