forked from Mirrorlandia_minetest/minetest
Fix endian.h include for FreeBSD
This commit is contained in:
parent
53bc56dc3c
commit
2414580754
@ -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…
Reference in New Issue
Block a user