From 9c767787dba81bd5713e1a45eef8b381e7d4b79b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 3 Jan 2013 13:50:59 +0100 Subject: [PATCH] fix compile errors on linux --- auth.c | 2 ++ main.c | 3 +++ 2 files changed, 5 insertions(+) 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); diff --git a/main.c b/main.c index 100e285..26dc55c 100644 --- a/main.c +++ b/main.c @@ -17,6 +17,8 @@ * limitations under the License. */ +#define _GNU_SOURCE +#define _XOPEN_SOURCE 700 #include #include #include @@ -25,6 +27,7 @@ #include #include #include +#include #include -- 2.11.0