summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Dastmalchi-Round <markround@users.noreply.github.com>2019-01-16 15:05:21 +0000
committerPaul Kehrer <paul.l.kehrer@gmail.com>2019-01-16 09:05:21 -0600
commit762282370484f3aa0cdea0410a716e7b9069eadd (patch)
tree5b2355a73dd97481312ed01b83c1bdf16d94802b /src
parent32d80d6b5e127ed52bd4d5b4337c1058344ca975 (diff)
downloadpy-bcrypt-git-762282370484f3aa0cdea0410a716e7b9069eadd.tar.gz
Added portable_endian support for Haiku OS (#164)
Diffstat (limited to 'src')
-rw-r--r--src/_csrc/portable_endian.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/_csrc/portable_endian.h b/src/_csrc/portable_endian.h
index 166247c..17ceb1b 100644
--- a/src/_csrc/portable_endian.h
+++ b/src/_csrc/portable_endian.h
@@ -94,6 +94,10 @@
# include <sys/endian.h>
+#elif defined(__HAIKU__)
+
+# include <endian.h>
+
#elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
# include <sys/endian.h>