diff options
author | John Tytgat <joty@netsurf-browser.org> | 2008-07-26 23:42:24 +0000 |
---|---|---|
committer | John Tytgat <joty@netsurf-browser.org> | 2008-07-26 23:42:24 +0000 |
commit | 203b3289b8f590d25a2abf6df95bcaff741a7c2e (patch) | |
tree | d678df97090f80cb8d8fe54392d8341c509a2a61 /riscos/url_protocol.c | |
parent | 4ea96eac117f0ba74074fb486e2a57f85db8c697 (diff) | |
download | netsurf-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.c')
-rw-r--r-- | riscos/url_protocol.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/riscos/url_protocol.c b/riscos/url_protocol.c index 68df3c218..7831334b6 100644 --- a/riscos/url_protocol.c +++ b/riscos/url_protocol.c @@ -24,6 +24,9 @@ * See http://www.vigay.com/inet/inet_url.html */ +#include "utils/config.h" +#ifdef WITH_URL + #define _GNU_SOURCE /* for strndup */ #include <ctype.h> #include <stdio.h> @@ -40,8 +43,6 @@ #include "utils/log.h" #include "utils/utils.h" -#ifdef WITH_URL - /** * Handle a Message_InetSuiteOpenURL. */ |