opnsense-ports/devel/dwz/files/patch-hashtab.c
Franco Fichtner 8bb6302ebf */*: sync with upstream
Taken from: HardenedBSD
2021-02-22 18:03:48 +01:00

13 lines
349 B
C

--- hashtab.c.orig 2019-10-02 10:26:03.003230419 -0400
+++ hashtab.c 2020-04-05 14:12:16.089254000 -0400
@@ -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