--- gtk/main.c.orig	Mon Sep 30 08:59:51 2002
+++ gtk/main.c	Mon Sep 30 08:59:38 2002
@@ -43,6 +43,7 @@
 
 #include <string.h>
 #include <ctype.h>
+#include <unistd.h>
 
 #ifdef HAVE_IO_H
 #include <io.h> /* open/close on win32 */
