summaryrefslogtreecommitdiff
path: root/auth.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-13 10:17:31 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-01-13 10:18:26 +0100
commitb0ac713bef656102c722ab472753c17aa15fcf93 (patch)
tree30c5206a46bf039d08a454e79213574162aa3bfb /auth.c
parent92ae38e7170d435b3ae54374735e5a4896ece6b4 (diff)
add check for shadow support, turn -Os back on
Diffstat (limited to 'auth.c')
-rw-r--r--auth.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/auth.c b/auth.c
index 301e938..d6964f4 100644
--- a/auth.c
+++ b/auth.c
@@ -20,6 +20,9 @@
#define _GNU_SOURCE
#define _XOPEN_SOURCE 700
#include <strings.h>
+#ifdef HAVE_SHADOW
+#include <shadow.h>
+#endif
#include "uhttpd.h"
static LIST_HEAD(auth_realms);