diff options
author | Slávek Banko <[email protected]> | 2019-06-29 15:31:49 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-06-29 15:31:49 +0200 |
commit | 918bb2093769284e885e55691e1986db458db0d5 (patch) | |
tree | a56b286e6e50f5c09a4e65c3aac5c2ff2730b167 | |
parent | faf56a27166894ca4392bd53166c4269637a798a (diff) | |
download | kcmldapcontroller-918bb2093769284e885e55691e1986db458db0d5.tar.gz kcmldapcontroller-918bb2093769284e885e55691e1986db458db0d5.zip |
cmake: Add missing checks include files.
This resolves FTBFS on big-endian architectures.
Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r-- | ConfigureChecks.cmake | 3 | ||||
-rw-r--r-- | config.h.cmake | 9 |
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@" |