summaryrefslogtreecommitdiff
path: root/gmain.c
diff options
context:
space:
mode:
authorCDT 1999 Shawn T. Amundson <amundson@gtk.org>1999-05-08 07:40:44 +0000
committerShawn Amundson <amundson@src.gnome.org>1999-05-08 07:40:44 +0000
commit499c9786d1316bc72c539d55786bb3a65d95a83a (patch)
tree9af442bcdb994b2d8f4ae926d0ed0eb1edfdf02a /gmain.c
parent2b688f549c8a2719544b33859cdc5ef99355cf37 (diff)
downloadglib-499c9786d1316bc72c539d55786bb3a65d95a83a.tar.gz
Port to BeOS by myself and Richard Offer.
Sat May 8 01:52:29 CDT 1999 Shawn T. Amundson <amundson@gtk.org> * configure.in gerror.c gmain.c gstrfuncs.c gutils.c ltconfig ltmain.sh gmodule/Makefile.am gmodule/gmodule.c gmodule/gmoduleconf.h.in gmodule/gmodule-beos.c gthread/Makefile.am: Port to BeOS by myself and Richard Offer.
Diffstat (limited to 'gmain.c')
-rw-r--r--gmain.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gmain.c b/gmain.c
index bab33b69b..c95dc2dd0 100644
--- a/gmain.c
+++ b/gmain.c
@@ -54,6 +54,10 @@
#include <windows.h>
#endif /* NATIVE_WIN32 */
+#ifdef GLIB_NATIVE_BEOS
+#include <net/socket.h>
+#endif /* GLIB_NATIVE_BEOS */
+
/* Types */
typedef struct _GTimeoutData GTimeoutData;
@@ -318,6 +322,10 @@ g_poll (GPollFD *fds, guint nfds, gint timeout)
#include <sys/select.h>
#endif /* HAVE_SYS_SELECT_H */
+#ifdef GLIB_NATIVE_BEOS
+#undef NO_FD_SET
+#endif /* GLIB_NATIVE_BEOS */
+
#ifndef NO_FD_SET
# define SELECT_MASK fd_set
#else /* !NO_FD_SET */