1 --- mkcasfw.c.orig 2011-12-22 14:21:03 UTC 2 +++ mkcasfw.c 3 @@ -19,11 +19,13 @@ 4 #include <stdarg.h> 5 #include <errno.h> 6 #include <sys/stat.h> 7 -#include <endian.h> /* for __BYTE_ORDER */ 8 +#include <sys/endian.h> /* for __BYTE_ORDER */ 9 #if defined(__CYGWIN__) 10 # include <byteswap.h> 11 #endif 12 13 +#include "freebsd.h" 14 + 15 #if (__BYTE_ORDER == __LITTLE_ENDIAN) 16 # define HOST_TO_LE16(x) (x) 17 # define HOST_TO_LE32(x) (x) 18