diff options
-rw-r--r-- | include/compiler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/compiler.h b/include/compiler.h index 14519163a3..21036022d7 100644 --- a/include/compiler.h +++ b/include/compiler.h @@ -48,6 +48,10 @@ # include <machine/endian.h> typedef unsigned long ulong; #endif +#ifdef __FreeBSD__ +# include <sys/endian.h> /* htole32 and friends */ +#endif + #include <time.h> typedef uint8_t __u8; |