From: Sebastian Wilhelmi Date: Thu, 2 Nov 2000 11:38:10 +0000 (+0000) Subject: Include sys/select.h (some platforms need it for select). X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=6c41cc9ce763a5cd02328a22496111e699639926;p=dana%2Fcg-glib.git Include sys/select.h (some platforms need it for select). 2000-11-02 Sebastian Wilhelmi * gspawn.c: Include sys/select.h (some platforms need it for select). --- diff --git a/ChangeLog b/ChangeLog index 9628775f..193c3d8e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-11-02 Sebastian Wilhelmi + + * gspawn.c: Include sys/select.h (some platforms need it for + select). + 2000-10-31 Tor Lillqvist * gutils.c diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 9628775f..193c3d8e 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +2000-11-02 Sebastian Wilhelmi + + * gspawn.c: Include sys/select.h (some platforms need it for + select). + 2000-10-31 Tor Lillqvist * gutils.c diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 9628775f..193c3d8e 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2000-11-02 Sebastian Wilhelmi + + * gspawn.c: Include sys/select.h (some platforms need it for + select). + 2000-10-31 Tor Lillqvist * gutils.c diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 9628775f..193c3d8e 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +2000-11-02 Sebastian Wilhelmi + + * gspawn.c: Include sys/select.h (some platforms need it for + select). + 2000-10-31 Tor Lillqvist * gutils.c diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 9628775f..193c3d8e 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +2000-11-02 Sebastian Wilhelmi + + * gspawn.c: Include sys/select.h (some platforms need it for + select). + 2000-10-31 Tor Lillqvist * gutils.c diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 9628775f..193c3d8e 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2000-11-02 Sebastian Wilhelmi + + * gspawn.c: Include sys/select.h (some platforms need it for + select). + 2000-10-31 Tor Lillqvist * gutils.c diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 9628775f..193c3d8e 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2000-11-02 Sebastian Wilhelmi + + * gspawn.c: Include sys/select.h (some platforms need it for + select). + 2000-10-31 Tor Lillqvist * gutils.c diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 9628775f..193c3d8e 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2000-11-02 Sebastian Wilhelmi + + * gspawn.c: Include sys/select.h (some platforms need it for + select). + 2000-10-31 Tor Lillqvist * gutils.c diff --git a/glib/gspawn.c b/glib/gspawn.c index b6af58de..e283af63 100644 --- a/glib/gspawn.c +++ b/glib/gspawn.c @@ -30,6 +30,10 @@ #include #include +#ifdef HAVE_SYS_SELECT_H +#include +#endif /* HAVE_SYS_SELECT_H */ + #ifdef _ #warning "FIXME remove gettext hack" #endif diff --git a/gspawn.c b/gspawn.c index b6af58de..e283af63 100644 --- a/gspawn.c +++ b/gspawn.c @@ -30,6 +30,10 @@ #include #include +#ifdef HAVE_SYS_SELECT_H +#include +#endif /* HAVE_SYS_SELECT_H */ + #ifdef _ #warning "FIXME remove gettext hack" #endif