From 73c843c1186c74e897022a3edb88d0d4f0ff27dc Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 3 Jan 2013 14:13:56 +0100 Subject: [PATCH] clean up / fix #include --- auth.c | 1 + main.c | 2 +- utils.h | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/auth.c b/auth.c index afab2c0..301e938 100644 --- a/auth.c +++ b/auth.c @@ -19,6 +19,7 @@ #define _GNU_SOURCE #define _XOPEN_SOURCE 700 +#include #include "uhttpd.h" static LIST_HEAD(auth_realms); diff --git a/main.c b/main.c index 26dc55c..ce5123b 100644 --- a/main.c +++ b/main.c @@ -17,6 +17,7 @@ * limitations under the License. */ +#define _BSD_SOURCE #define _GNU_SOURCE #define _XOPEN_SOURCE 700 #include @@ -27,7 +28,6 @@ #include #include #include -#include #include diff --git a/utils.h b/utils.h index ab00399..49e242e 100644 --- a/utils.h +++ b/utils.h @@ -27,6 +27,8 @@ #include #include #include +#include +#include #include struct uh_addr { -- 2.30.2