summaryrefslogtreecommitdiff
path: root/riscos/plugin.c
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/plugin.c
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/plugin.c')
-rw-r--r--riscos/plugin.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/riscos/plugin.c b/riscos/plugin.c
index 15a37d5f3..dbeb02b14 100644
--- a/riscos/plugin.c
+++ b/riscos/plugin.c
@@ -37,6 +37,9 @@
* Helpers are not supported (system variable detection is #if 0ed out)
*/
+#include "utils/config.h"
+#ifdef WITH_PLUGIN
+
#include <assert.h>
#include <stdbool.h>
#include <stdio.h>
@@ -67,8 +70,6 @@
#include "utils/utils.h"
-#ifdef WITH_PLUGIN
-
typedef enum {
PLUGIN_PARAMETER_DATA = 1,
PLUGIN_PARAMETER_URL = 2,