summaryrefslogtreecommitdiffstats
path: root/tools/sdptool.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/sdptool.c')
-rw-r--r--tools/sdptool.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/sdptool.c b/tools/sdptool.c
index abb8b439..87646cab 100644
--- a/tools/sdptool.c
+++ b/tools/sdptool.c
@@ -28,14 +28,18 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <getopt.h>
#include <errno.h>
+#include <netinet/in.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
-#include <bluetooth/sdp_internal.h>
#define for_each_opt(opt, long, short) while ((opt=getopt_long(argc, argv, short ? short:"+", long, 0)) != -1)