From bda2d7559f18b2e02050dc433c5ff70cec8e3362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 16 Jan 2021 00:25:29 +0100 Subject: Add sys/time.h and time.h header detection to resolve FTBFS. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- ConfigureChecks.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index acda08b..b36d0e7 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -35,6 +35,9 @@ find_package( X11 ) check_include_file( stdint.h HAVE_STDINT_H ) check_include_file( inttypes.h HAVE_INTTYPES_H ) +check_include_file( "sys/time.h" HAVE_SYS_TIME_H ) +check_include_files( "sys/time.h;time.h" TIME_WITH_SYS_TIME ) + ##### check for GnuTLS or OpenSSL( default ) -- cgit v1.2.1