summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ConfigureChecks.cmake6
-rw-r--r--config.h.cmake3
2 files changed, 9 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 5af31a2ae..8c367ab22 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -67,6 +67,12 @@ if( BUILD_DRKONQI OR BUILD_TDEIOSLAVES )
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 )
+endif( )
+
+
# pam
if( WITH_PAM AND (BUILD_KCHECKPASS OR BUILD_TDM) )
check_library_exists( pam pam_start "" HAVE_PAM )
diff --git a/config.h.cmake b/config.h.cmake
index 30d6b4af0..c019c7425 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -47,6 +47,9 @@
// tdm, tdeioslave
#cmakedefine HAVE_TERMIOS_H 1
+// tdeioslave/sftp, ksmserver, ksplashml
+#cmakedefine HAVE_SYS_TIME_H 1
+
// drkonqi
#cmakedefine HAVE_STDINT_H 1
#cmakedefine HAVE_SYS_BITYPES_H