summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-19 21:04:17 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-19 21:04:17 +0000
commit4c7e54787a593c1bd8f30427720df86f40b751b1 (patch)
tree7d7a47582c08d7a65a5b9a272660a96036eb4fc6 /config.h.cmake
parent5ab9dadace563042784f58bc7398543869c1c0b9 (diff)
downloadtdenetwork-4c7e54787a593c1bd8f30427720df86f40b751b1.tar.gz
tdenetwork-4c7e54787a593c1bd8f30427720df86f40b751b1.zip
[kdenetwork/ktalkd] added cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1254535 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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