blob: 51b4aa3a78f54db5e55ff0699c9df9dfda8f5214 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
diff --git a/mkcasfw.c b/mkcasfw.c
index 626e77d..fe9f122 100644
--- mkcasfw.c
+++ mkcasfw.c
@@ -19,11 +19,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"
+
#if (__BYTE_ORDER == __LITTLE_ENDIAN)
# define HOST_TO_LE16(x) (x)
# define HOST_TO_LE32(x) (x)
|