summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortduehr <td@matasano.com>2016-04-08 10:23:33 -0500
committertduehr <td@matasano.com>2016-04-08 10:23:33 -0500
commit740096cd665cdef8a6c6218218bfd68bc385e8c0 (patch)
treea5349fd48c09232fb1b2218c5a1c6fac60e68c17
parentce0e712bcb8876620e10c892d0b9005c84d92b53 (diff)
parent794592f620b036432a74a8b55af458383814f953 (diff)
downloadffi-740096cd665cdef8a6c6218218bfd68bc385e8c0.tar.gz
Merge pull request #491 from miqlas/haiku_fix
Haiku endianness fix
-rw-r--r--ext/ffi_c/rbffi_endian.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ffi_c/rbffi_endian.h b/ext/ffi_c/rbffi_endian.h
index c108020..ebb8420 100644
--- a/ext/ffi_c/rbffi_endian.h
+++ b/ext/ffi_c/rbffi_endian.h
@@ -7,7 +7,7 @@
#include <sys/types.h>
-#if defined(__linux__) || defined(__CYGWIN__) || defined(__GNU__) || defined(__GLIBC__)
+#if defined(__linux__) || defined(__CYGWIN__) || defined(__GNU__) || defined(__GLIBC__) || defined(__HAIKU__)
# include <endian.h>
# if !defined(LITTLE_ENDIAN) && defined(__LITTLE_ENDIAN)
# define LITTLE_ENDIAN __LITTLE_ENDIAN