summary refs log tree commit diff stats
path: root/src/fe-gtk/fkeys.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-07-21 14:26:19 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-07-21 14:26:19 +0200
commite7f723539d39f20092aabfb5b51826807e016fe3 (patch)
tree88c887012ba3fbf1b9b9c1208453a98568cbad3b /src/fe-gtk/fkeys.c
parent4cae471af3a4d8e9c7457f76186da809879f566f (diff)
Some aid for compiler warnings
Diffstat (limited to 'src/fe-gtk/fkeys.c')
-rw-r--r--src/fe-gtk/fkeys.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fe-gtk/fkeys.c b/src/fe-gtk/fkeys.c
index 611697de..dcab0946 100644
--- a/src/fe-gtk/fkeys.c
+++ b/src/fe-gtk/fkeys.c
@@ -24,12 +24,15 @@
 #include <fcntl.h>
 #include <ctype.h>
 
-#ifndef WIN32
+#ifdef WIN32
+#include <io.h>
+#else
 #include <unistd.h>
 #endif
 
 #include "fe-gtk.h"
 
+#include <glib.h>
 #include <gtk/gtklabel.h>
 #include <gtk/gtkeditable.h>
 #include <gtk/gtkmenu.h>