summaryrefslogtreecommitdiff
path: root/src/porting.cpp
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2017-06-06 23:02:03 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2017-06-06 23:02:03 +0200
commit6c558744179b52607d552d28bf6cc6a4e49a2a14 (patch)
tree601db7e2eb02e5fdd40f3300be697a399502768e /src/porting.cpp
parent47f5e7fd0f6a29fe8e4e6829d3d9a9aae4de6831 (diff)
downloadminetest-6c558744179b52607d552d28bf6cc6a4e49a2a14.tar.gz
minetest-6c558744179b52607d552d28bf6cc6a4e49a2a14.tar.bz2
minetest-6c558744179b52607d552d28bf6cc6a4e49a2a14.zip
DragonflyBSD & NetBSD build fix
Diffstat (limited to 'src/porting.cpp')
-rw-r--r--src/porting.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/porting.cpp b/src/porting.cpp
index 10b6fc940..0cc323934 100644
--- a/src/porting.cpp
+++ b/src/porting.cpp
@@ -25,7 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "porting.h"
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
#include <sys/types.h>
#include <sys/sysctl.h>
#elif defined(_WIN32)