summaryrefslogtreecommitdiff
path: root/devel/firmware-utils/files/patch-mkmylofw.c
blob: ea248af8860cf053e81c6c3b5962f5bd6e38d910 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- mkmylofw.c.orig	2011-12-22 14:21:03 UTC
+++ 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>