summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake15
1 files changed, 15 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index a9cf2d87..7283634b 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -21,7 +21,22 @@
#cmakedefine HAVE_SYS_PARAM_H 1
#cmakedefine HAVE_NET_IF_PPP_H 1
+// ktalkd
+#cmakedefine HAVE_SYS_TYPES_H 1
+#cmakedefine HAVE_SYS_STAT_H 1
+#cmakedefine HAVE_SYS_FILE_H 1
+#cmakedefine HAVE_UNISTD_H 1
+#cmakedefine HAVE_UTMP_H 1
+#cmakedefine HAVE_VSNPRINTF 1
+#define SCANDIR_NEEDS_CONST 1
+// only for Linux
+#define PROC_FIND_USER 1
+#define UTMP_AND_PROC_FIND_USER 1
+#define ALL_PROCESSES_AND_PROC_FIND_USER 1
+
+#ifdef __cplusplus
extern "C" {
unsigned long strlcpy(char*, const char*, unsigned long);
unsigned long strlcat(char*, const char*, unsigned long);
}
+#endif