diff --git a/src/point.hpp b/src/point.hpp
index 3b048bb3db7fb580443e019c98292821f715ffb2..faa9d1548686f75d1c2e64a6c7ee2ef091de7f6a 100644
--- a/src/point.hpp
+++ b/src/point.hpp
@@ -1,5 +1,6 @@
 #pragma once
 
+#include <cmath>
 #include <limits>
 #include <ostream>