summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/WrFFrI.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/WrFFrI.c b/src/WrFFrI.c
index 4bcaba7..067c96b 100644
--- a/src/WrFFrI.c
+++ b/src/WrFFrI.c
@@ -45,11 +45,12 @@
#ifndef NO_ZPIPE
#include "sys/wait.h"
#include "sys/types.h"
-#include "fcntl.h"
#include "unistd.h"
#include "errno.h"
#endif
+#include "fcntl.h"
+
/* MS Windows define a function called WriteFile @#%#&!!! */
LFUNC(xpmWriteFile, int, (FILE *file, XpmImage *image, const char *name,
XpmInfo *info));