diff --git a/modules/geom/src/mat4.hh b/modules/geom/src/mat4.hh
index 95ca3d63270923145c57d0e56f61889ae31741d4..3888fa873b0b48bc799d48eda7b52ed4ca5325d0 100644
--- a/modules/geom/src/mat4.hh
+++ b/modules/geom/src/mat4.hh
@@ -23,6 +23,7 @@
 #include <cstddef> // for size_t
 #include <ostream>
 #include <vector>
+#include <stdexcept>
 
 #include <boost/operators.hpp>