diff options
-rw-r--r-- | auth.c | 1 | ||||
-rw-r--r-- | main.c | 2 | ||||
-rw-r--r-- | utils.h | 2 |
3 files changed, 4 insertions, 1 deletions
@@ -19,6 +19,7 @@ #define _GNU_SOURCE #define _XOPEN_SOURCE 700 +#include <strings.h> #include "uhttpd.h" static LIST_HEAD(auth_realms); @@ -17,6 +17,7 @@ * limitations under the License. */ +#define _BSD_SOURCE #define _GNU_SOURCE #define _XOPEN_SOURCE 700 #include <sys/types.h> @@ -27,7 +28,6 @@ #include <errno.h> #include <netdb.h> #include <signal.h> -#include <unistd.h> #include <libubox/usock.h> @@ -27,6 +27,8 @@ #include <string.h> #include <errno.h> #include <stdlib.h> +#include <alloca.h> +#include <time.h> #include <unistd.h> struct uh_addr { |