--- a/src/utils/math.h
+++ b/src/utils/math.h
@@ -5,6 +5,7 @@
#define UTILS_MATH_H
#include <cmath>
+#include <cstdint>
//c++11 no longer defines M_PI, so add our own constant.