diff --git a/src/Main/viewer.cxx b/src/Main/viewer.cxx
index 49d77cf5b..97ae34519 100644
--- a/src/Main/viewer.cxx
+++ b/src/Main/viewer.cxx
@@ -35,6 +35,7 @@
 #include <simgear/debug/logstream.hxx>
 #include <simgear/constants.h>
 #include <simgear/scene/model/placement.hxx>
+#include <simgear/scene/util/OsgMath.hxx>
 
 #include <Main/globals.hxx>
 #include <Scenery/scenery.hxx>