summaryrefslogtreecommitdiff
path: root/src/core/overflowsafe_type.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/overflowsafe_type.hpp')
-rw-r--r--src/core/overflowsafe_type.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/overflowsafe_type.hpp b/src/core/overflowsafe_type.hpp
index 632e261a6..8f1f404a7 100644
--- a/src/core/overflowsafe_type.hpp
+++ b/src/core/overflowsafe_type.hpp
@@ -5,6 +5,8 @@
#ifndef OVERFLOWSAFE_TYPE_HPP
#define OVERFLOWSAFE_TYPE_HPP
+#include "math_func.hpp"
+
/**
* Overflow safe template for integers, i.e. integers that will never overflow
* you multiply the maximum value with 2, or add 2, or substract somethng from