summaryrefslogtreecommitdiffstats
path: root/sdpd
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-11-17 12:36:56 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-11-17 12:36:56 +0000
commit914bf7ce2fcc811ea8561c30e7a43394d8834555 (patch)
treeb27bb1580e0fe8f81c91936cad7df2cb56006fec /sdpd
parent4223f91dd1beb9160fb0cd2b67793a1cf2436094 (diff)
Fix pselect() build warning
Diffstat (limited to 'sdpd')
-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>