Fix build on FreeBSD by defining bswap_64.

This commit is contained in:
Gleb Popov 2022-01-26 11:06:58 +03:00
parent 0538034ed3
commit 44b18b86cd

View file

@ -27,6 +27,7 @@
#include <sys/endian.h>
#define bswap_16 bswap16
#define bswap_32 bswap32
#define bswap_64 bswap64
#else
#include <byteswap.h>
#endif