Fix build against Mac OS X SDK 10.4

Change-Id: I077afe48e0d375f75a8c35bc87c6c177b68512f7
This commit is contained in:
Tor Lillqvist
2013-02-14 16:52:07 +02:00
parent 4dc71bcf6e
commit bc96a84370

View File

@@ -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