summaryrefslogtreecommitdiff
path: root/devel/dwz/files/patch-sha1.c
blob: 1af9141322210c49796cb8f5a2c7f30863f1490b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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) \