diff options
-rw-r--r-- | cocoa/NetsurfApp.m | 1 | ||||
-rw-r--r-- | riscos/gui.c | 2 | ||||
-rw-r--r-- | riscos/gui.h | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/cocoa/NetsurfApp.m b/cocoa/NetsurfApp.m index 32ad8f1fb..5c359114c 100644 --- a/cocoa/NetsurfApp.m +++ b/cocoa/NetsurfApp.m @@ -22,6 +22,7 @@ #import "cocoa/plotter.h" #import "cocoa/DownloadWindowController.h" #import "cocoa/selection.h" +#import "cocoa/fetch.h" #import "desktop/gui.h" #import "content/urldb.h" diff --git a/riscos/gui.c b/riscos/gui.c index 43e2f3a4e..69d5b2932 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -808,7 +808,7 @@ static char *path_to_url(const char *path) * \return RISC OS pathname, allocated on heap, or 0 on failure */ -static char *url_to_path(const char *url) +char *url_to_path(const char *url) { char *path; char *filename; diff --git a/riscos/gui.h b/riscos/gui.h index 3eeb56273..32710b442 100644 --- a/riscos/gui.h +++ b/riscos/gui.h @@ -119,6 +119,7 @@ void ro_gui_drag_box_start(wimp_pointer *pointer); bool ro_gui_prequit(void); const char *ro_gui_default_language(void); void gui_poll(bool active); /* exported for riscos/wimp_event.c:722 */ +char *url_to_path(const char *url); /* in download.c */ void ro_gui_download_init(void); |