FreeBSD compability (#57)
This commit is contained in:
parent
04edad3801
commit
5fe41affba
6 changed files with 15 additions and 9 deletions
|
|
@ -22,6 +22,8 @@
|
|||
#elif defined(__APPLE__)
|
||||
// Mac OS X / Darwin features
|
||||
#include <libkern/OSByteOrder.h>
|
||||
#elif defined(__FreeBSD__)
|
||||
#include <sys/endian.h>
|
||||
#elif defined(__GLIBC__)
|
||||
#include <byteswap.h> // IWYU pragma: export
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue