diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2019-06-29 15:31:49 +0200 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2019-06-29 15:32:08 +0200 |
| commit | 214961ddabaa3c3d70a52b3e0ea9fdf69918e0d4 (patch) | |
| tree | 72acc4ff79fd8fad52e9ad4f159336cdf87f3637 | |
| parent | a3da62278b3c8d181a460c8deedd50a552dcc331 (diff) | |
| download | kcmldapcontroller-214961ddabaa3c3d70a52b3e0ea9fdf69918e0d4.tar.gz kcmldapcontroller-214961ddabaa3c3d70a52b3e0ea9fdf69918e0d4.zip | |
cmake: Add missing checks include files.
This resolves FTBFS on big-endian architectures.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 918bb2093769284e885e55691e1986db458db0d5)
| -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@" |
