summaryrefslogtreecommitdiffstats
path: root/sdpd
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-11-17 13:13:13 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-11-17 13:13:13 +0000
commit4c82b98bd90b389c616c71b5e75ef7096c3461c1 (patch)
treedb70f7ea4cd9456825760dfb6f0053c3e812ffd6 /sdpd
parent00ea526ab6b56994e727de46133d2eaaf9b40e84 (diff)
Fix definition of _XOPEN_SOURCE
Diffstat (limited to 'sdpd')
-rw-r--r--sdpd/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sdpd/main.c b/sdpd/main.c
index da14b967..d3fba1ac 100644
--- a/sdpd/main.c
+++ b/sdpd/main.c
@@ -34,11 +34,10 @@
#include <stdlib.h>
#include <signal.h>
#include <getopt.h>
-#include <sys/stat.h>
-#include <sys/socket.h>
-
#define _XOPEN_SOURCE 600
+#include <sys/stat.h>
#include <sys/select.h>
+#include <sys/socket.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/l2cap.h>