ports/devel/firmware-utils/files/patch-mkmylofw.c
Eitan Adler 5a32450718 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
2011-12-25 05:10:28 +00:00

15 lines
355 B
C

diff --git a/mkmylofw.c b/mkmylofw.c
index 585a9f9..927a0f7 100644
--- mkmylofw.c
+++ mkmylofw.c
@@ -28,7 +28,9 @@
#include <stdarg.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 defined(__CYGWIN__)
# include <byteswap.h>