diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2019-11-01 15:47:06 +0100 |
---|---|---|
committer | Cristian Adam <cristian.adam@gmail.com> | 2019-11-01 17:55:24 +0100 |
commit | 117a0b3b03614ad9148a09fff4ca0dcff0ace86a (patch) | |
tree | c14129f3f01999e70eaa6f44f6e5e96da633a2e2 | |
parent | b5de909c3aab352c45f0a1211b026429f8dddf42 (diff) |
Build fix: Add errno.h include header for errno usage
With Clang-Mingw the value for EADDRINUSE was not known, unless
errno.h was included.
Change-Id: I8a75a9c7b8f4578ab6c829d424d59a1c6185376b
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rw-r--r-- | src/bluetooth/qbluetoothserver_win.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothserver_win.cpp b/src/bluetooth/qbluetoothserver_win.cpp index a57d39a5..70695112 100644 --- a/src/bluetooth/qbluetoothserver_win.cpp +++ b/src/bluetooth/qbluetoothserver_win.cpp @@ -48,6 +48,7 @@ #include <winsock2.h> #include <ws2bth.h> #include <bluetoothapis.h> +#include <errno.h> QT_BEGIN_NAMESPACE |