summary refs log tree commit diff stats
path: root/src/fe-gtk/palette.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-gtk/palette.c')
-rw-r--r--src/fe-gtk/palette.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fe-gtk/palette.c b/src/fe-gtk/palette.c
index b94ac874..104700c2 100644
--- a/src/fe-gtk/palette.c
+++ b/src/fe-gtk/palette.c
@@ -22,6 +22,10 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 
+#ifndef WIN32
+#include <unistd.h>
+#endif
+
 #include "fe-gtk.h"
 #include "palette.h"