summaryrefslogtreecommitdiff
path: root/desktop
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 /desktop
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 'desktop')
-rw-r--r--desktop/401login.h4
-rw-r--r--desktop/print.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/desktop/401login.h b/desktop/401login.h
index bb41205a1..8f7220663 100644
--- a/desktop/401login.h
+++ b/desktop/401login.h
@@ -20,11 +20,11 @@
#define NETSURF_DESKTOP_401LOGIN_H
#include "utils/config.h"
+#ifdef WITH_AUTH
+
#include "content/content.h"
#include "desktop/browser.h"
-#ifdef WITH_AUTH
-
void gui_401login_open(struct browser_window *bw, struct content *c,
const char *realm);
diff --git a/desktop/print.c b/desktop/print.c
index 0b96c852c..b13ea7d4b 100644
--- a/desktop/print.c
+++ b/desktop/print.c
@@ -20,7 +20,9 @@
* Output-in-pages implementation
*/
+#include "utils/config.h"
#ifdef WITH_PDF_EXPORT
+
#include "desktop/print.h"
#include "desktop/printer.h"