summaryrefslogtreecommitdiff
path: root/riscos/401login.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2004-01-05 02:10:59 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2004-01-05 02:10:59 +0000
commit62245d13ec60e3c0fc78221f0a8f754f33c2b6a1 (patch)
tree5bbe5b8a63941c2d3b7f71fc53ceedcbc1d92cd6 /riscos/401login.c
parent91e767cdfa11225dd370471892000e107bb06726 (diff)
downloadnetsurf-62245d13ec60e3c0fc78221f0a8f754f33c2b6a1.tar.gz
netsurf-62245d13ec60e3c0fc78221f0a8f754f33c2b6a1.tar.bz2
[project @ 2004-01-05 02:10:59 by jmb]
Add ability to turn off browser features in build. This may be useful when hunting down bugs. svn path=/import/netsurf/; revision=480
Diffstat (limited to 'riscos/401login.c')
-rw-r--r--riscos/401login.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/riscos/401login.c b/riscos/401login.c
index 2aa644390..ab59f0f45 100644
--- a/riscos/401login.c
+++ b/riscos/401login.c
@@ -9,6 +9,7 @@
#include <ctype.h>
#include <string.h>
#include "oslib/wimp.h"
+#include "netsurf/utils/config.h"
#include "netsurf/content/content.h"
#include "netsurf/desktop/browser.h"
#include "netsurf/desktop/401login.h"
@@ -18,6 +19,8 @@
#include "netsurf/utils/messages.h"
#include "netsurf/utils/utils.h"
+#ifdef WITH_AUTH
+
static void get_unamepwd(void);
static wimp_window *dialog_401_template;
@@ -153,3 +156,5 @@ void get_unamepwd() {
login_list_add(url, lidets);
}
+
+#endif