fix compile errors
[project/uhttpd.git] / file.c
diff --git a/file.c b/file.c
index f1f5d6d9eb210f349b8f164b4c5e27e6e1b8da1f..5ba659f4e082c77a17446b8bd7baf91e457c0f74 100644 (file)
--- a/file.c
+++ b/file.c
  *  limitations under the License.
  */
 
+#define _BSD_SOURCE
+#define _XOPEN_SOURCE 700
+
 #include <sys/types.h>
 #include <sys/dir.h>
+#include <time.h>
+#include <strings.h>
 
 #include <libubox/blobmsg.h>