]> git.mxchange.org Git - simgear.git/blobdiff - simgear/magvar/magvar.cxx
Fix #1783: repeated error message on console
[simgear.git] / simgear / magvar / magvar.cxx
index 2744e20e3c1c7c83ce999282ad7ed329055e8c7d..d22257848ebb2ba20cb3892f10f35de47dbfcbf5 100644 (file)
 // $Id$
 
 
-#include <math.h>
+#ifdef HAVE_CONFIG_H
+#  include <simgear_config.h>
+#endif
+
+
+#include <cmath>
 
 #include <simgear/magvar/magvar.hxx>
 #include <simgear/math/SGMath.hxx>