projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27eed13
)
Fix missing #include
author
PilzAdam
<pilzadam@minetest.net>
Tue, 27 Oct 2015 14:55:34 +0000
(15:55 +0100)
committer
PilzAdam
<pilzadam@minetest.net>
Tue, 27 Oct 2015 14:55:34 +0000
(15:55 +0100)
src/basicmacros.h
patch
|
blob
|
history
diff --git
a/src/basicmacros.h
b/src/basicmacros.h
index 2b183d6c5b7b2808ba003a92762d4aa06dbcf688..05987e32f20a5aeab7baa27cfb52ec183678e392 100644
(file)
--- 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))