aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorLeonid Bobrov <mazocomp@disroot.org>2019-02-03 10:53:54 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2019-02-03 09:53:54 +0100
commit339341ba4e270cc86e82db008e6325f03d1046f7 (patch)
treee129e568fb172c567dc3c852a5bf5e9aa557fb25 /src/util
parent70672e1cb7634afc8f884c3ff8a6dca1448abff7 (diff)
downloadminetest-339341ba4e270cc86e82db008e6325f03d1046f7.tar.gz
minetest-339341ba4e270cc86e82db008e6325f03d1046f7.tar.bz2
minetest-339341ba4e270cc86e82db008e6325f03d1046f7.zip
DragonFly BSD is somewhat identical to FreeBSD (#8159)
Diffstat (limited to 'src/util')
-rw-r--r--src/util/serialize.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/serialize.h b/src/util/serialize.h
index 5eb2b5f2e..8ef0ad1c2 100644
--- a/src/util/serialize.h
+++ b/src/util/serialize.h
@@ -32,7 +32,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define __BIG_ENDIAN 1
#elif defined(__MACH__) && defined(__APPLE__)
#include <machine/endian.h>
- #elif defined(__FreeBSD__)
+ #elif defined(__FreeBSD__) || defined(__DragonFly__)
#include <sys/endian.h>
#else
#include <endian.h>