add check for shadow support, turn -Os back on
[project/uhttpd.git] / auth.c
diff --git a/auth.c b/auth.c
index 301e938..d6964f4 100644 (file)
--- 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);