ports/devel/firmware-utils/files/patch-mkcsysimg.c
Dmitry Marakasov 6529a2933c - Add LICENSE
- Switch to USES=tar:bzip2
- Regenerate patches with `make makepatch`

Approved by:	portmgr blanket
2015-08-20 10:52:03 +00:00

17 lines
392 B
C

--- mkcsysimg.c.orig 2011-12-22 14:21:03 UTC
+++ 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)