summaryrefslogtreecommitdiff
path: root/gtk/gtkmain.c
diff options
context:
space:
mode:
authorPadraig O'Briain <padraigo@src.gnome.org>2001-05-09 16:15:09 +0000
committerPadraig O'Briain <padraigo@src.gnome.org>2001-05-09 16:15:09 +0000
commit9b490708ed34bbcfd327c26cb83f20386b782116 (patch)
treefaebec636d3f3c63d637234f5c86ddeb6758dad2 /gtk/gtkmain.c
parent3340826a509dbdfba834381f3f2cdb2fa53f839d (diff)
downloadgtk+-9b490708ed34bbcfd327c26cb83f20386b782116.tar.gz
Added include of unistd.h so that gid_t is defined (on Solaris)
Diffstat (limited to 'gtk/gtkmain.c')
-rw-r--r--gtk/gtkmain.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index 35a1dc5921..d0122f3bcb 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -36,6 +36,9 @@
#include <stdlib.h>
#include <string.h>
#include <gmodule.h>
+#ifdef G_OS_UNIX
+#include <unistd.h>
+#endif
#include "gtkdnd.h"
#include "gtkcompat.h"
#include "gtkmain.h"