diff options
author | Allen Winter <allen.winter@kdab.com> | 2015-05-25 17:12:46 -0400 |
---|---|---|
committer | Allen Winter <allen.winter@kdab.com> | 2015-05-25 17:12:46 -0400 |
commit | 6ad3669273c52e0354c874ee6b01dea7ce9c39c5 (patch) | |
tree | 22e9c00e1c8edc783919642acf0a7ed8c241ce8b /config.h.cmake | |
parent | 9c1e54f11ed4718e023b1af2b3224902db28ffb5 (diff) | |
download | libical-git-6ad3669273c52e0354c874ee6b01dea7ce9c39c5.tar.gz |
cmake discovery for HAVE_SIGNAL and HAVE_ALARM
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake index 5faed9e2..e6905125 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -129,6 +129,12 @@ /* Define to 1 if you have the `unsetenv' function. */ #cmakedefine HAVE_UNSETENV 1 +/* Define to 1 if you have the `alarm' function. */ +#cmakedefine HAVE_ALARM 1 + +/* Define to 1 if you have the `signal' function. */ +#cmakedefine HAVE_SIGNAL 1 + /* Define to 1 if you have the `waitpid' function. */ #cmakedefine HAVE_WAITPID 1 @@ -408,6 +414,16 @@ typedef ssize_t IO_SSIZE_T; #endif #endif +/* alarm - function to set and alarm for delivering a signal */ +#if defined(HAVE_ALARM) +#include <unistd.h> +#endif + +/* signal - signal handling function */ +#if defined(HAVE_SIGNAL) +#include <signal.h> +#endif + /* waitpid - system function waiting on a process */ #if defined(HAVE_WAITPID) #include <sys/types.h> |