mirror of
https://github.com/minetest/minetest.git
synced 2024-09-27 15:00:30 +02:00
add freebsd endian.h
This commit is contained in:
parent
52b9f882f4
commit
3beb9cb761
|
@ -28,6 +28,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
#if HAVE_ENDIAN_H
|
#if HAVE_ENDIAN_H
|
||||||
#if defined(__MACH__) && defined(__APPLE__)
|
#if defined(__MACH__) && defined(__APPLE__)
|
||||||
#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