aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@amdmi3.ru>2014-12-30 03:03:01 +0300
committerCraig Robbins <kde.psych@gmail.com>2014-12-30 23:00:01 +1000
commit2414580754734b62119369255b0e9c462381dc8a (patch)
tree69ac39fc4213d6c3c52650f72603ce007094a928 /src
parent53bc56dc3ccea62ba0a1e4318bdc89cd5e6e9582 (diff)
downloadminetest-2414580754734b62119369255b0e9c462381dc8a.tar.gz
minetest-2414580754734b62119369255b0e9c462381dc8a.tar.bz2
minetest-2414580754734b62119369255b0e9c462381dc8a.zip
Fix endian.h include for FreeBSD
Diffstat (limited to 'src')
-rw-r--r--src/cguittfont/irrUString.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cguittfont/irrUString.h b/src/cguittfont/irrUString.h
index 32efaa683..c175c792a 100644
--- a/src/cguittfont/irrUString.h
+++ b/src/cguittfont/irrUString.h
@@ -47,6 +47,8 @@
#define __BIG_ENDIAN 1
#elif __MACH__
#include <machine/endian.h>
+#elif defined(__FreeBSD__)
+#include <sys/endian.h>
#else
#include <endian.h>
#endif