summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-03-09 20:15:58 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-03-09 20:15:58 +0000
commit868eb388eacf226e1ff0fc84c7923aaa13836216 (patch)
tree51588382aa501379dbb94e1c99716cdd65f8c0b5
parent26e7f9195005deda91eea83f368c0d53ec95856c (diff)
Add workaround for missing Apple service identifier
-rw-r--r--tools/sdptool.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/sdptool.c b/tools/sdptool.c
index efe59e02..8bee7985 100644
--- a/tools/sdptool.c
+++ b/tools/sdptool.c
@@ -45,6 +45,10 @@
#include <netinet/in.h>
+#ifndef APPLE_AGENT_SVCLASS_ID
+#define APPLE_AGENT_SVCLASS_ID 0x2112
+#endif
+
#define for_each_opt(opt, long, short) while ((opt=getopt_long(argc, argv, short ? short:"+", long, 0)) != -1)
/*