summaryrefslogtreecommitdiff
path: root/riscos/url_protocol.h
diff options
context:
space:
mode:
authorJohn Tytgat <joty@netsurf-browser.org>2008-07-26 23:42:24 +0000
committerJohn Tytgat <joty@netsurf-browser.org>2008-07-26 23:42:24 +0000
commit203b3289b8f590d25a2abf6df95bcaff741a7c2e (patch)
treed678df97090f80cb8d8fe54392d8341c509a2a61 /riscos/url_protocol.h
parent4ea96eac117f0ba74074fb486e2a57f85db8c697 (diff)
downloadnetsurf-203b3289b8f590d25a2abf6df95bcaff741a7c2e.tar.gz
netsurf-203b3289b8f590d25a2abf6df95bcaff741a7c2e.tar.bz2
- Include utils/config.h before each WITH_* test entiry enabling/disabling the object file.
- Add same test in corresponding header file (if there is one) - riscos/uri.c: include riscos/uri.h and have function definitions matching the declarations. - Disable PDF debug logging. svn path=/trunk/netsurf/; revision=4769
Diffstat (limited to 'riscos/url_protocol.h')
-rw-r--r--riscos/url_protocol.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/riscos/url_protocol.h b/riscos/url_protocol.h
index b0b1cb781..0561d52dc 100644
--- a/riscos/url_protocol.h
+++ b/riscos/url_protocol.h
@@ -23,6 +23,9 @@
#ifndef _NETSURF_RISCOS_URL_H_
#define _NETSURF_RISCOS_URL_H_
+#include "utils/config.h"
+#ifdef WITH_URL
+
#include "oslib/wimp.h"
void ro_url_message_received(wimp_message *message);
@@ -30,4 +33,6 @@ void ro_url_broadcast(const char *url);
void ro_url_load(const char *url);
void ro_url_bounce(wimp_message *message);
+#endif /* WITH_URL */
+
#endif