blob: f78a72e8f92c8f0243cfe8d9030dd75641fd2dc6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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)
|