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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fe-gtk/editlist.c b/src/fe-gtk/editlist.c
index fd2d6810..d374d064 100644
--- a/src/fe-gtk/editlist.c
+++ b/src/fe-gtk/editlist.c
@@ -22,6 +22,11 @@
 #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>