aboutsummaryrefslogtreecommitdiff
path: root/lib/select.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/select.c')
-rw-r--r--lib/select.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/select.c b/lib/select.c
index c66095dde..8b6a8ce5c 100644
--- a/lib/select.c
+++ b/lib/select.c
@@ -39,6 +39,11 @@
#include "select.h"
+#ifdef __BEOS__
+/* BeOS has FD_SET defined in socket.h */
+#include <socket.h>
+#endif
+
#ifdef WIN32
#define VALID_SOCK(s) (1) /* Win-sockets are not in range [0..FD_SETSIZE> */
#else