aboutsummaryrefslogtreecommitdiff
path: root/lib/file.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-11-02 10:12:22 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-11-02 10:12:22 +0000
commit24d47a6e07304cf0921f2d30734b3c64360773c3 (patch)
tree03bae425fc10d6c083e866a3e1ab5bf620dffe42 /lib/file.c
parent8a66584db4ab3bd1668a685785da7108f7550e95 (diff)
Paul Nolan fix to make libcurl build nicely on Windows CE
Diffstat (limited to 'lib/file.c')
-rw-r--r--lib/file.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/file.c b/lib/file.c
index 6d6287d74..7831d2ef2 100644
--- a/lib/file.c
+++ b/lib/file.c
@@ -30,8 +30,12 @@
#include <stdarg.h>
#include <stdlib.h>
#include <ctype.h>
+#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
+#endif
#include <errno.h>
@@ -66,9 +70,6 @@
#include <sys/param.h>
#endif
-#ifdef HAVE_SYS_STAT_H
-#include <sys/stat.h>
-#endif
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif