Files
haikuports/app-crypt/libmd/patches/libmd-0.0.0.patchset
2017-03-02 14:35:14 +01:00

28 lines
532 B
Plaintext

From 5b8465a3d576188312c83e111039e7d1a1182161 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
Date: Thu, 2 Mar 2017 11:00:39 +0100
Subject: [PATCH] Endiannes support on Haiku
---
src/sha2.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/sha2.c b/src/sha2.c
index 029d0d4..5cbbe2b 100644
--- a/src/sha2.c
+++ b/src/sha2.c
@@ -36,6 +36,10 @@
#include <sys/types.h>
+#ifdef __HAIKU__
+#include <posix/endian.h>
+#endif
+
#include <string.h>
#include <sha2.h>
--
2.11.0