Port TIME_WITH_SYS_TIME to CMake.

This resolves FTBFS from commit 05dc8500dd.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 98abb9e8ee)
pull/182/head
Slávek Banko 5 years ago
parent 5f7a92ca0a
commit b91935b641
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -70,6 +70,7 @@ endif( )
# sys/time.h (tdeioslave/sftp, ksmserver, ksplashml)
if( BUILD_KSMSERVER OR BUILD_KSPLASHML OR BUILD_TDEIOSLAVES)
check_include_file( sys/time.h HAVE_SYS_TIME_H )
check_include_files( "sys/time.h;time.h" TIME_WITH_SYS_TIME )
endif( )

@ -49,6 +49,7 @@
// tdeioslave/sftp, ksmserver, ksplashml
#cmakedefine HAVE_SYS_TIME_H 1
#cmakedefine TIME_WITH_SYS_TIME 1
// drkonqi
#cmakedefine HAVE_STDINT_H 1

Loading…
Cancel
Save