summaryrefslogtreecommitdiff
path: root/devel/firmware-utils/files/patch-mkedimaximg.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-mkedimaximg.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-mkedimaximg.c')
-rw-r--r--devel/firmware-utils/files/patch-mkedimaximg.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/firmware-utils/files/patch-mkedimaximg.c b/devel/firmware-utils/files/patch-mkedimaximg.c
new file mode 100644
index 000000000000..4145286e452e
--- /dev/null
+++ b/devel/firmware-utils/files/patch-mkedimaximg.c
@@ -0,0 +1,15 @@
+diff --git a/mkedimaximg.c b/mkedimaximg.c
+index d8a017e..6d504e5 100644
+--- mkedimaximg.c
++++ mkedimaximg.c
+@@ -15,7 +15,9 @@
+ #include <getopt.h>
+ #include <errno.h>
+ #include <sys/stat.h>
+-#include <endian.h> /* for __BYTE_ORDER */
++#include <sys/endian.h> /* for __BYTE_ORDER */
++
++#include "freebsd.h"
+
+ #if (__BYTE_ORDER == __LITTLE_ENDIAN)
+ # define HOST_TO_LE16(x) (x)