diff options
author | Julian Andres Klode <jak@debian.org> | 2016-08-22 22:54:07 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-08-26 15:49:14 +0200 |
commit | b10ec8cc7b6b9d181cccacee6b4c1c4c5bdbd510 (patch) | |
tree | bcdf454179ea75fafcf434abea83572212a4c3ba /CMake/endian.h.in | |
parent | 0fa5d862040a56fbad9a2bd563243f23359a881d (diff) |
CMake: Handle endian.h locations on other platforms
Gbp-Dch: ignore
Diffstat (limited to 'CMake/endian.h.in')
-rw-r--r-- | CMake/endian.h.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CMake/endian.h.in b/CMake/endian.h.in new file mode 100644 index 000000000..1d9198c24 --- /dev/null +++ b/CMake/endian.h.in @@ -0,0 +1,9 @@ +#include <config.h> + +#ifdef HAVE_MACHINE_ENDIAN_H +#include <machine/endian.h> +#endif +#ifdef HAVE_SYS_ENDIAN_H +#include <sys/types.h> +#include <sys/endian.h> +#endif |