diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-05-08 18:03:27 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-05-08 18:03:27 +0100 |
commit | 1556055d91a752abc28764637c8a91eaaec9f131 (patch) | |
tree | 1da564a611151b48f4aad724316f4d942ab68a88 | |
parent | cd7f1eceea81a69e5b4dcdef90d45aab44f8a11f (diff) | |
download | netsurf-1556055d91a752abc28764637c8a91eaaec9f131.tar.gz netsurf-1556055d91a752abc28764637c8a91eaaec9f131.tar.bz2 |
fix nsurl references
-rw-r--r-- | desktop/download.h | 3 | ||||
-rw-r--r-- | riscos/download.c | 3 |
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" |