summary refs log tree commit diff stats
path: root/src/fe-gtk/editlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-gtk/editlist.c')
-rw-r--r--src/fe-gtk/editlist.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fe-gtk/editlist.c b/src/fe-gtk/editlist.c
index 5af67e32..d374d064 100644
--- a/src/fe-gtk/editlist.c
+++ b/src/fe-gtk/editlist.c
@@ -19,10 +19,14 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <unistd.h>
 #include <fcntl.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+
+#ifndef WIN32
+#include <unistd.h>
+#endif
+
 #include "fe-gtk.h"
 
 #include <gtk/gtkstock.h>