ports/devel/dwz/files/patch-sha1.c
Li-Wen Hsu 1ffeb40d6f devel/dwz: Update to 0.14
PR:		254176
Submitted by:	Brian Callahan <bcallah@openbsd.org> (maintainer)
2021-03-10 13:30:04 +00:00

14 lines
276 B
C

--- sha1.c.orig 2021-03-08 07:56:18 UTC
+++ sha1.c
@@ -27,9 +27,9 @@
#include <stddef.h>
#include <string.h>
-#include <endian.h>
+#include <sys/endian.h>
-#if __BYTE_ORDER == __BIG_ENDIAN
+#if _BYTE_ORDER == _BIG_ENDIAN
# define SWAP(n) (n)
#else
# define SWAP(n) \