[packages] hping3: fix build failure on avr32 (closes: #7006)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@20646 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2010-04-01 06:00:56 +00:00
parent d4b6d3c20e
commit 6c9f9d8abb

View File

@ -36,7 +36,7 @@
#else
--- a/bytesex.h
+++ b/bytesex.h
@@ -9,9 +9,11 @@
@@ -9,9 +9,12 @@
#if defined(__i386__) \
|| defined(__alpha__) \
@ -46,6 +46,7 @@
-#elif defined(__mc68000__) \
+#elif defined(__mc68000__) \
+ || (defined(__arm__) && (defined(ARMEB) || defined(__ARMEB__))) \
+ || defined (__avr32__) \
|| defined (__sparc__) \
|| defined (__sparc) \
|| defined (__PPC__) \