summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2021-01-16 00:25:29 +0100
committerSlávek Banko <[email protected]>2021-01-16 00:25:29 +0100
commitbda2d7559f18b2e02050dc433c5ff70cec8e3362 (patch)
treefa3ed1a251571c3192f975ddb849d27c5215f306 /config.h.cmake
parent355f00c2bd6f4b2870133d0423420ef8046b7156 (diff)
downloadtork-bda2d7559f18b2e02050dc433c5ff70cec8e3362.tar.gz
tork-bda2d7559f18b2e02050dc433c5ff70cec8e3362.zip
Add sys/time.h and time.h header detection to resolve FTBFS.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index a8b653b..59360ae 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -22,6 +22,12 @@
/* Defined if you have <inttypes.h> header */
#cmakedefine HAVE_INTTYPES_H 1
+// Defined to 1 if you have 'sys/time.h' header
+#cmakedefine HAVE_SYS_TIME_H 1
+
+// Defined to 1 if 'time.h' header can be included together with 'sys/time.h'
+#cmakedefine TIME_WITH_SYS_TIME 1
+
/* Disable features for LIVECD use */
#cmakedefine LIVECD 1