aboutsummaryrefslogtreecommitdiffstats
path: root/libosmocore/src/select.c
diff options
context:
space:
mode:
Diffstat (limited to 'libosmocore/src/select.c')
-rw-r--r--libosmocore/src/select.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libosmocore/src/select.c b/libosmocore/src/select.c
index 46a0b9617..4f5d7ed95 100644
--- a/libosmocore/src/select.c
+++ b/libosmocore/src/select.c
@@ -23,6 +23,8 @@
#include <osmocore/linuxlist.h>
#include <osmocore/timer.h>
+#ifdef HAVE_SYS_SELECT_H
+
static int maxfd = 0;
static LLIST_HEAD(bsc_fds);
static int unregistered_count;
@@ -122,3 +124,5 @@ restart:
}
return work;
}
+
+#endif /* _HAVE_SYS_SELECT_H */