summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-12-30 19:58:45 +0100
committerFelix Fietkau <nbd@openwrt.org>2012-12-30 19:58:48 +0100
commitd364884471614988e500e2d5412f7aeac00eb9d2 (patch)
treeb8c7fb738050de5d01ad6d00730ee793b34bd394 /file.c
parent30fff08a44094df9b775f2e4bf9f5abceb847415 (diff)
fix compile errors
Diffstat (limited to 'file.c')
-rw-r--r--file.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/file.c b/file.c
index f1f5d6d..5ba659f 100644
--- a/file.c
+++ b/file.c
@@ -17,8 +17,13 @@
* 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>