aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPilzAdam <pilzadam@minetest.net>2015-10-27 15:55:34 +0100
committerPilzAdam <pilzadam@minetest.net>2015-10-27 15:55:34 +0100
commitc406438b95e3df181961add56a2511b96bd9d690 (patch)
tree9c6e3fbafcf46088d1f3e84da760606522bc03f0
parent27eed1389b8bece41950c53b47acffb3bb0c83ee (diff)
downloadminetest-c406438b95e3df181961add56a2511b96bd9d690.tar.gz
minetest-c406438b95e3df181961add56a2511b96bd9d690.tar.bz2
minetest-c406438b95e3df181961add56a2511b96bd9d690.zip
Fix missing #include
-rw-r--r--src/basicmacros.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basicmacros.h b/src/basicmacros.h
index 2b183d6c5..05987e32f 100644
--- a/src/basicmacros.h
+++ b/src/basicmacros.h
@@ -20,6 +20,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#ifndef BASICMACROS_HEADER
#define BASICMACROS_HEADER
+#include <algorithm>
+
#define ARRLEN(x) (sizeof(x) / sizeof((x)[0]))
#define MYMIN(a, b) ((a) < (b) ? (a) : (b))