aboutsummaryrefslogtreecommitdiff
path: root/net/hping/files/patch-bytesex.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/hping/files/patch-bytesex.h')
-rw-r--r--net/hping/files/patch-bytesex.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/net/hping/files/patch-bytesex.h b/net/hping/files/patch-bytesex.h
index 931f1127a00e..6159fea08192 100644
--- a/net/hping/files/patch-bytesex.h
+++ b/net/hping/files/patch-bytesex.h
@@ -1,15 +1,17 @@
---- bytesex.h.orig Tue Sep 14 15:22:45 2004
-+++ bytesex.h Tue Sep 14 15:21:50 2004
-@@ -8,10 +8,12 @@
+--- bytesex.h.orig 2003-07-28 17:00:55.000000000 +0800
++++ bytesex.h 2015-12-22 22:30:11.367208000 +0800
+@@ -8,10 +8,14 @@
#define ARS_BYTESEX_H
#if defined(__i386__) \
++ || defined (__amd64__) \
+ || defined(__ia64__) \
|| defined(__alpha__) \
++ || defined(__arm__) \
|| (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__)))
#define BYTE_ORDER_LITTLE_ENDIAN
#elif defined(__mc68000__) \
-+ || defined (__amd64__) \
++ || (defined(__arm__) && (defined(ARMEB) || defined (__ARMEB__))) \
|| defined (__sparc__) \
|| defined (__sparc) \
|| defined (__PPC__) \