diff --git a/include/amqpcpp/endian.h b/include/amqpcpp/endian.h index c6fab90..3e9831c 100644 --- a/include/amqpcpp/endian.h +++ b/include/amqpcpp/endian.h @@ -126,6 +126,13 @@ #define be64toh(x) betoh64(x) #define le64toh(x) letoh64(x) +/** + * FreeBSD handling + */ +#elif defined(__FreeBSD__) + +#include + /** * Not on apple, and not on windows */