summaryrefslogtreecommitdiff
path: root/devel/firmware-utils/files/patch-ptgen.c
blob: 36ee333fc8da5617b105d6f791fea289bdd1ec2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/ptgen.c b/ptgen.c
index d94aabb..4733311 100644
--- ptgen.c
+++ ptgen.c
@@ -29,6 +29,8 @@
 #include <ctype.h>
 #include <fcntl.h>
 
+#include "freebsd.h"
+
 #if __BYTE_ORDER == __BIG_ENDIAN
 #define cpu_to_le16(x) bswap_16(x)
 #elif __BYTE_ORDER == __LITTLE_ENDIAN