summaryrefslogtreecommitdiff
blob: 7f1ae712bd16d809b68da9ee9f7f7dc1cfcfd542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 58e0224a6677667b1102b34ad5b35a787bd74077 Mon Sep 17 00:00:00 2001
From: Denis Pronin <dannftk@yandex.ru>
Date: Wed, 4 Mar 2020 00:59:07 +0300
Subject: [PATCH] support building with clang and libc++

fixed undefined errno when compiling with clang++ and libc++

Change-Id: I30be6e2da36f9189261535f103ce689462634f49
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
---
 src/bluetooth/bluez/bluetoothmanagement.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bluetooth/bluez/bluetoothmanagement.cpp b/src/bluetooth/bluez/bluetoothmanagement.cpp
index 31d3dc02..b6ad93e5 100644
--- a/src/bluetooth/bluez/bluetoothmanagement.cpp
+++ b/src/bluetooth/bluez/bluetoothmanagement.cpp
@@ -51,6 +51,7 @@
 #include <sys/types.h>
 #include <linux/capability.h>
 
+#include <cerrno>
 
 QT_BEGIN_NAMESPACE