fix compile errors on linux
[project/uhttpd.git] / auth.c
diff --git a/auth.c b/auth.c
index c27488f..afab2c0 100644 (file)
--- 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);