diff options
author | Samuel Gaist <samuel.gaist@edeltech.ch> | 2016-10-02 21:19:39 +0200 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2016-10-03 16:08:11 +0000 |
commit | 462323dba4f963844e8c9911da27a0d21e4abf43 (patch) | |
tree | 41217905af8f7c55c3c3831b329ae7002b809a40 /src/bluetooth/osx/osxbtledeviceinquiry.mm | |
parent | e53f828a1644fab1821a7696c190777a3bbb1880 (diff) |
Fixed build with MaxOSX10.12 SDK
This patch adds missing includes that allows to build the module with
the 10.12 SDK and Xcode 8.
Change-Id: Ieab48f6a0582b916ceecbbb9a01a4169d6ba53f5
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'src/bluetooth/osx/osxbtledeviceinquiry.mm')
-rw-r--r-- | src/bluetooth/osx/osxbtledeviceinquiry.mm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bluetooth/osx/osxbtledeviceinquiry.mm b/src/bluetooth/osx/osxbtledeviceinquiry.mm index 5cf9b193..5a2f2dbd 100644 --- a/src/bluetooth/osx/osxbtledeviceinquiry.mm +++ b/src/bluetooth/osx/osxbtledeviceinquiry.mm @@ -42,6 +42,11 @@ #include "corebluetoothwrapper_p.h" +#if QT_MAC_PLATFORM_SDK_EQUAL_OR_ABOVE(__MAC_10_12, __IPHONE_NA) +#import <CoreBluetooth/CBCentralManager.h> +#import <CoreBluetooth/CBPeripheral.h> +#endif + QT_BEGIN_NAMESPACE namespace OSXBluetooth { |