diff --git a/main.cpp b/main.cpp
index d29f92e987c8b616fcf2dc5262ebec996db6b0c7..169d59f17182695c6b4b4a36e6d99acfd67276e1 100644
--- a/main.cpp
+++ b/main.cpp
@@ -21,6 +21,7 @@
 #include <iostream>
 #include <eisgenerator/model.h>
 #include <eisgenerator/eistype.h>
+#include <eisgenerator/basicmath.h>
 
 #include "eisdrt/eisdrt.h"