Fix missing #include
authorPilzAdam <pilzadam@minetest.net>
Tue, 27 Oct 2015 14:55:34 +0000 (15:55 +0100)
committerPilzAdam <pilzadam@minetest.net>
Tue, 27 Oct 2015 14:55:34 +0000 (15:55 +0100)
src/basicmacros.h

index 2b183d6c5b7b2808ba003a92762d4aa06dbcf688..05987e32f20a5aeab7baa27cfb52ec183678e392 100644 (file)
@@ -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))