diff options
-rw-r--r-- | libhfp/bt.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libhfp/bt.cpp b/libhfp/bt.cpp index b5a6dc9..bae4836 100644 --- a/libhfp/bt.cpp +++ b/libhfp/bt.cpp @@ -59,6 +59,15 @@ namespace libhfp { * * Eventually this will be replaced with an asynchronous alternative. */ + +/* + * Some versions of libbluetooth define the supported features attribute ID + * as below. + */ +#if !defined(SDP_ATTR_SUPPORTED_FEATURES) +#define SDP_ATTR_SUPPORTED_FEATURES SDP_SUPPORTED_FEATURES +#endif + int SdpAsyncTaskHandler:: SdpLookupChannel(SdpTaskParams &htp) { |