From e349e6df7a08b4aa15a63fa5f1dcd0f36d598d53 Mon Sep 17 00:00:00 2001
From: Kimmo Ollila <kimmo.ollila@qt.io>
Date: Thu, 5 Jan 2017 13:23:20 +0200
Subject: [PATCH] Build fix for libtiff on INTEGRITY

INTEGRITY doesn't have search.h header

Change-Id: I5efe7d8ced37942de85ae810e22e528996e9904f
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Reviewed-by: Nikola Velinov <nvelinov@ghs.com>
---
 src/3rdparty/libtiff/libtiff/tif_config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/3rdparty/libtiff/libtiff/tif_config.h b/src/3rdparty/libtiff/libtiff/tif_config.h
index a6bf38c4..b0618dfa 100644
--- a/src/3rdparty/libtiff/libtiff/tif_config.h
+++ b/src/3rdparty/libtiff/libtiff/tif_config.h
@@ -139,7 +139,7 @@
 /* #undef HAVE_PTHREAD */
 
 /* Define to 1 if you have the <search.h> header file. */
-#if !defined(Q_OS_WINCE) && !defined(Q_OS_VXWORKS) && !defined(Q_OS_ANDROID)
+#if !defined(Q_OS_WINCE) && !defined(Q_OS_VXWORKS) && !defined(Q_OS_ANDROID) && !defined(Q_OS_INTEGRITY)
 #define HAVE_SEARCH_H 1
 #endif
 
-- 
GitLab