--- a/src/af/ev/gtk/ev_UnixMouse.cpp	2021-03-20 19:24:22.219913596 +0530
+++ b/src/af/ev/gtk/ev_UnixMouse.cpp	2021-03-20 19:24:07.341070272 +0530
@@ -20,6 +20,9 @@
 // TODO see if we need to do the GTK absolute-to-relative coordinate
 // TODO trick like we did in the top ruler.
 
+#include <cstdlib>
+#include <cmath>
+
 #include "ut_assert.h"
 #include "ut_debugmsg.h"
 #include "ut_types.h"
