summaryrefslogtreecommitdiff
path: root/config.h.cmake
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2015-04-28 17:12:59 -0400
committerAllen Winter <allen.winter@kdab.com>2015-04-28 17:12:59 -0400
commitf7d6f275cb3880d519f8fe8016bfaa787c293a2b (patch)
treef16cbe6bd90e59dbab1d36110569cfbd3f933f0d /config.h.cmake
parent7263e5201247f2cabee805dca6eddf9f9e97704f (diff)
downloadlibical-git-f7d6f275cb3880d519f8fe8016bfaa787c293a2b.tar.gz
finish header cleaning on linux anway. need to test other platforms now
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake38
1 files changed, 38 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index d83aa9d5..78212a9e 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -117,6 +117,18 @@
/* Define to 1 if you have the `unsetenv' function. */
#cmakedefine HAVE_UNSETENV 1
+/* Define to 1 if you have the `waitpid' function. */
+#cmakedefine HAVE_WAITPID 1
+
+/* Define to 1 if you have the `fork' function. */
+#cmakedefine HAVE_FORK 1
+
+/* Define to 1 if you have the `getpwent' function. */
+#cmakedefine HAVE_GETPWENT 1
+
+/* Define to 1 if you have the `unlink' function. */
+#cmakedefine HAVE_UNLINK 1
+
/* Define to 1 if you have the <wctype.h> header file. */
#cmakedefine HAVE_WCTYPE_H 1
@@ -192,6 +204,12 @@ typedef int pid_t;
/* whether we have ICU DANGI calendar */
#cmakedefine HAVE_ICU_DANGI
+/* getpwent - function to get password file entry */
+#if defined(HAVE_GETPWENT)
+#include <sys/types.h>
+#include <pwd.h>
+#endif
+
/* strcasecmp: String compare, case independent */
#if !defined(HAVE_STRCASECMP)
#if defined(HAVE_STRICMP)
@@ -287,6 +305,26 @@ typedef int pid_t;
#endif
#endif
+/* fork - system function to create a child process */
+#if defined(HAVE_FORK)
+#if defined(HAVE_UNISTD_H)
+#include <unistd.h>
+#endif
+#endif
+
+/* waitpid - system function waiting on a process */
+#if defined(HAVE_WAITPID)
+#include <sys/types.h>
+#include <sys/wait.h>
+#endif
+
+/* unlink - system function to delete a file */
+#if defined(HAVE_UNLINK)
+#if defined(HAVE_UNISTD_H)
+#include <unistd.h>
+#endif
+#endif
+
/* define MAXPATHLEN */
#if defined(_WIN32)
#include <windows.h> //for MAX_PATH