summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-06-29 15:31:49 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-06-29 15:31:49 +0200
commit918bb2093769284e885e55691e1986db458db0d5 (patch)
treea56b286e6e50f5c09a4e65c3aac5c2ff2730b167
parentfaf56a27166894ca4392bd53166c4269637a798a (diff)
downloadkcmldapcontroller-918bb209.tar.gz
kcmldapcontroller-918bb209.zip
cmake: Add missing checks include files.
This resolves FTBFS on big-endian architectures. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--ConfigureChecks.cmake3
-rw-r--r--config.h.cmake9
2 files changed, 12 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index dbc71b8..427373c 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -28,6 +28,9 @@ endif( WITH_GCC_VISIBILITY )
##### check for headers
check_include_file( "slapi-plugin.h" HAVE_SLAPI_PLUGIN_H )
+check_include_file( "sys/bitypes.h" HAVE_SYS_BITYPES_H )
+check_include_file( "sys/types.h" HAVE_SYS_TYPES_H )
+check_include_file( "stdint.h" HAVE_STDINT_H )
##### check for ldap
diff --git a/config.h.cmake b/config.h.cmake
index 1684891..87b949a 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -10,6 +10,15 @@
/* Defined to 1 if you have the <slapi-plugin.h> header */
#cmakedefine HAVE_SLAPI_PLUGIN_H @HAVE_SLAPI_PLUGIN_H@
+/* Debian to 1 if you have the <sys/bitypes.h> header */
+#cmakedefine HAVE_SYS_BITYPES_H 1
+
+/* Debian to 1 if you have the <sys/types.h> header */
+#cmakedefine HAVE_SYS_TYPES_H 1
+
+/* Debian to 1 if you have the <stdint.h> header */
+#cmakedefine HAVE_STDINT_H 1
+
/* Path for the config system */
#cmakedefine KDE_CONFDIR "@KDE_CONFDIR@"