1 --- a/include/compiler.h
2 +++ b/include/compiler.h
3 @@ -46,7 +46,7 @@ extern int errno;
7 -#elif defined(__MACH__)
8 +#elif defined(__MACH__) || defined(__FreeBSD__)
9 # include <machine/endian.h>
10 typedef unsigned long ulong;
11 typedef unsigned int uint;