summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
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"