summaryrefslogtreecommitdiff
path: root/devel/firmware-utils/files/patch-mkmylofw.c
blob: b217ec0e5cf1d0d3d31b83b7c55ae0318931ebfa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/mkmylofw.c b/mkmylofw.c
index 585a9f9..927a0f7 100644
--- mkmylofw.c
+++ mkmylofw.c
@@ -28,7 +28,9 @@
 #include <stdarg.h>
 #include <errno.h>
 #include <sys/stat.h>
-#include <endian.h>     /* for __BYTE_ORDER */
+#include <sys/endian.h>     /* for __BYTE_ORDER */
+
+#include "freebsd.h"
 
 #if defined(__CYGWIN__)
 #  include <byteswap.h>