summaryrefslogtreecommitdiffstats
path: root/sdpd/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sdpd/main.c')
-rw-r--r--sdpd/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sdpd/main.c b/sdpd/main.c
index 1de73368..5bb86951 100644
--- a/sdpd/main.c
+++ b/sdpd/main.c
@@ -37,9 +37,11 @@
#include <getopt.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
-#include <sys/select.h>
#include <sys/socket.h>
+#define _XOPEN_SOURCE 600
+#include <sys/select.h>
+
#include <bluetooth/bluetooth.h>
#include <bluetooth/l2cap.h>
#include <bluetooth/sdp.h>