fix compile errors
[project/uhttpd.git] / file.c
diff --git a/file.c b/file.c
index f1f5d6d..5ba659f 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>