summaryrefslogtreecommitdiff
path: root/devel/firmware-utils/files/patch-mkzcfw.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-mkzcfw.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-mkzcfw.c')
-rw-r--r--devel/firmware-utils/files/patch-mkzcfw.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/firmware-utils/files/patch-mkzcfw.c b/devel/firmware-utils/files/patch-mkzcfw.c
new file mode 100644
index 000000000000..baaab712f4cd
--- /dev/null
+++ b/devel/firmware-utils/files/patch-mkzcfw.c
@@ -0,0 +1,12 @@
+diff --git a/mkzcfw.c b/mkzcfw.c
+index 7674e70..c60fc6f 100644
+--- mkzcfw.c
++++ mkzcfw.c
+@@ -18,6 +18,7 @@
+ #include <errno.h>
+ #include <sys/stat.h>
+
++#include "freebsd.h"
+ #include "cyg_crc.h"
+
+ #if (__BYTE_ORDER == __BIG_ENDIAN)