5a32450718
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
19 lines
432 B
C
19 lines
432 B
C
diff --git a/mkcsysimg.c b/mkcsysimg.c
|
|
index 4f2352a..b0c16c6 100644
|
|
--- mkcsysimg.c
|
|
+++ mkcsysimg.c
|
|
@@ -32,11 +32,13 @@
|
|
#include <stdarg.h>
|
|
#include <errno.h>
|
|
#include <sys/stat.h>
|
|
-#include <endian.h> /* for __BYTE_ORDER */
|
|
+#include <sys/endian.h> /* for __BYTE_ORDER */
|
|
#if defined(__CYGWIN__)
|
|
# include <byteswap.h>
|
|
#endif
|
|
|
|
+#include "freebsd.h"
|
|
+
|
|
#include "csysimg.h"
|
|
|
|
#if (__BYTE_ORDER == __LITTLE_ENDIAN)
|