From: Felix Fietkau Date: Thu, 3 Jan 2013 13:13:56 +0000 (+0100) Subject: clean up / fix #include X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=73c843c1186c74e897022a3edb88d0d4f0ff27dc;p=project%2Fuhttpd.git clean up / fix #include --- 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 {