summaryrefslogtreecommitdiff
path: root/auth.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-03 13:50:59 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-01-03 13:51:02 +0100
commit9c767787dba81bd5713e1a45eef8b381e7d4b79b (patch)
tree97a15dc39e26098242faa2c05905a941455e356c /auth.c
parent92f4e1306dd060106a3f5c5f61303d9613f93888 (diff)
fix compile errors on linux
Diffstat (limited to 'auth.c')
-rw-r--r--auth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/auth.c b/auth.c
index c27488f..afab2c0 100644
--- a/auth.c
+++ b/auth.c
@@ -17,6 +17,8 @@
* limitations under the License.
*/
+#define _GNU_SOURCE
+#define _XOPEN_SOURCE 700
#include "uhttpd.h"
static LIST_HEAD(auth_realms);