summaryrefslogtreecommitdiff
path: root/devel/firmware-utils/files/patch-trx2edips.c
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2011-12-25 05:10:28 +0000
committerEitan Adler <eadler@FreeBSD.org>2011-12-25 05:10:28 +0000
commit5a3245071840593218b88de24755cc68d23a8612 (patch)
tree6d19504dad3a9c8d27b8ec862e0457911fcdc99e /devel/firmware-utils/files/patch-trx2edips.c
parent. Update to tzupdater 1.3.45 (diff)
A collection of utilities to create firmware images for embedded devices,
including many wireless routers from many vendors. The utilities are collected and maintained by the OpenWrt router project. WWW: http://www.openwrt.org/ PR: ports/163537 Submitted by: Stefan Bethke <stb@lassitu.de> Feature safe: yes
Diffstat (limited to 'devel/firmware-utils/files/patch-trx2edips.c')
-rw-r--r--devel/firmware-utils/files/patch-trx2edips.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/firmware-utils/files/patch-trx2edips.c b/devel/firmware-utils/files/patch-trx2edips.c
new file mode 100644
index 000000000000..0c941a01932e
--- /dev/null
+++ b/devel/firmware-utils/files/patch-trx2edips.c
@@ -0,0 +1,13 @@
+diff --git a/trx2edips.c b/trx2edips.c
+index f8d068d..224bc12 100644
+--- trx2edips.c
++++ trx2edips.c
+@@ -6,6 +6,8 @@
+ #include <errno.h>
+ #include <unistd.h>
+
++#include "freebsd.h"
++
+ #if __BYTE_ORDER == __BIG_ENDIAN
+ #define STORE32_LE(X) bswap_32(X)
+ #define LOAD32_LE(X) bswap_32(X)