mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Fix endian.h include for FreeBSD
This commit is contained in:
parent
53bc56dc3c
commit
2414580754
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,8 @@
|
||||||
#define __BIG_ENDIAN 1
|
#define __BIG_ENDIAN 1
|
||||||
#elif __MACH__
|
#elif __MACH__
|
||||||
#include <machine/endian.h>
|
#include <machine/endian.h>
|
||||||
|
#elif defined(__FreeBSD__)
|
||||||
|
#include <sys/endian.h>
|
||||||
#else
|
#else
|
||||||
#include <endian.h>
|
#include <endian.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue