opnsense-ports/devel/dwz/files/patch-sha1.c
Franco Fichtner c76a998bb5 */*: sync with upstream
Taken from: HardenedBSD
2021-03-20 15:28:58 +01: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) \