aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))