diff options
author | Dave Beckett <dave@dajobe.org> | 2021-11-14 14:15:30 -0800 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2021-11-14 14:15:30 -0800 |
commit | 48b74bf6524c9e67369ec18ce102df6eaea77343 (patch) | |
tree | 11ab945eb0ecf4bd11b011323b187ac0f8d5f7ce | |
parent | bd6ccf26129e0c7f218919288b255c7d8e2a6e8d (diff) | |
download | raptor-48b74bf6524c9e67369ec18ce102df6eaea77343.tar.gz |
Add cmake check for time.h with HAVE_TIME_H
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/raptor_config_cmake.h.in | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 93aa65d1..c7422108 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,6 +72,7 @@ CHECK_INCLUDE_FILE(stddef.h HAVE_STDDEF_H) CHECK_INCLUDE_FILE(stdlib.h HAVE_STDLIB_H) CHECK_INCLUDE_FILE(string.h HAVE_STRING_H) CHECK_INCLUDE_FILE(unistd.h HAVE_UNISTD_H) +CHECK_INCLUDE_FILE(time.h HAVE_TIME_H) CHECK_INCLUDE_FILE(sys/param.h HAVE_SYS_PARAM_H) CHECK_INCLUDE_FILE(sys/stat.h HAVE_SYS_STAT_H) CHECK_INCLUDE_FILE(sys/stat.h HAVE_SYS_STAT_H) diff --git a/src/raptor_config_cmake.h.in b/src/raptor_config_cmake.h.in index e4559c14..e4e98081 100644 --- a/src/raptor_config_cmake.h.in +++ b/src/raptor_config_cmake.h.in @@ -13,6 +13,7 @@ #cmakedefine HAVE_STDLIB_H #cmakedefine HAVE_STRING_H #cmakedefine HAVE_UNISTD_H +#cmakedefine HAVE_TIME_H #cmakedefine HAVE_SYS_PARAM_H #cmakedefine HAVE_SYS_STAT_H #cmakedefine HAVE_SYS_STAT_H |