summaryrefslogtreecommitdiff
path: root/sd/source/ui/remotecontrol/BluetoothServer.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-02-14 16:52:07 +0200
committerTor Lillqvist <tml@iki.fi>2013-02-14 16:52:34 +0200
commitbc96a84370fb167ab2c63582c10535992f31768c (patch)
tree613dfbc291744bfffdf37b2ca8a23d595b0bf608 /sd/source/ui/remotecontrol/BluetoothServer.cxx
parent4dc71bcf6e6a757a8369c46db1c24e98679d1506 (diff)
Fix build against Mac OS X SDK 10.4
Change-Id: I077afe48e0d375f75a8c35bc87c6c177b68512f7
Diffstat (limited to 'sd/source/ui/remotecontrol/BluetoothServer.cxx')
-rw-r--r--sd/source/ui/remotecontrol/BluetoothServer.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index 7677e64b185a..e877cca22756 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -41,7 +41,14 @@
#ifdef MACOSX
#include <premac.h>
- #include <IOBluetooth/IOBluetooth.h>
+ #if MACOSX_SDK_VERSION >= 1070
+ #import <IOBluetooth/IOBluetooth.h>
+ #else
+ #import <CoreFoundation/CoreFoundation.h>
+ #import <IOBluetooth/IOBluetoothUtilities.h>
+ #import <IOBluetooth/objc/IOBluetoothSDPUUID.h>
+ #import <IOBluetooth/objc/IOBluetoothSDPServiceRecord.h>
+ #endif
#include <postmac.h>
#endif