opnsense-ports/devel/dwz/files/patch-hashtab.c
Franco Fichtner c76a998bb5 */*: sync with upstream
Taken from: HardenedBSD
2021-03-20 15:28:58 +01:00

13 lines
301 B
C

--- hashtab.c.orig 2021-03-08 07:56:18 UTC
+++ hashtab.c
@@ -37,8 +37,8 @@ Boston, MA 02110-1301, USA. */
#include <stdio.h>
#include "hashtab.h"
-#include <endian.h>
-#if __BYTE_ORDER == __BIG_ENDIAN
+#include <sys/endian.h>
+#if _BYTE_ORDER == _BIG_ENDIAN
# define WORDS_BIGENDIAN 1
#endif