From 1556055d91a752abc28764637c8a91eaaec9f131 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 8 May 2014 18:03:27 +0100 Subject: fix nsurl references --- desktop/download.h | 3 ++- riscos/download.c | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 #include #include +#include + #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" -- cgit v1.2.3