From ea9429ec78a3a40f8a7aa5d2f3a523f14f9cc6e1 Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Mon, 8 Jul 2019 13:52:26 +0200 Subject: Make qtconnectivity compile on RHEL 6.10 htonl and htons cannot be found when compiling src/sdpscanner. This patch extends the bluez compile test such that the missing symbols are checked as well. As outcome RHEL 6.10 will have no bluez support and the dummy backend will be built. Fixes: QTBUG-74581 Change-Id: Ie71ed05d72f94e43630be41bc589de5f24fb2194 Reviewed-by: Timur Pocheptsov Reviewed-by: Oliver Wolff --- config.tests/bluez/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config.tests/bluez/main.cpp b/config.tests/bluez/main.cpp index 2e978b85..63d7f8eb 100644 --- a/config.tests/bluez/main.cpp +++ b/config.tests/bluez/main.cpp @@ -35,5 +35,10 @@ int main() bacmp(&anyTmp, &localTmp); + uint32_t field0 = 1; + uint16_t field1 = 1; + + field0 = htonl(field0); + field1 = htons(field1); return 0; } -- cgit v1.2.3