summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 01c26eea41..b189a239cb 100644
--- a/file.c
+++ b/file.c
@@ -46,6 +46,7 @@ struct timeval {
char *strrchr();
#endif
+#include <sys/types.h>
#include <sys/stat.h>
#ifndef NT
@@ -261,7 +262,6 @@ file_path(obj)
return str_new2(fptr->path);
}
-#include <sys/types.h>
#ifndef NT
#include <sys/file.h>
#else