1
0
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:
qiukeren 2015-12-22 01:41:21 +08:00
parent 52b9f882f4
commit 3beb9cb761

View File

@ -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