]> git.mxchange.org Git - simgear.git/blobdiff - simgear/magvar/coremag.cxx
Fix #1783: repeated error message on console
[simgear.git] / simgear / magvar / coremag.cxx
index e6d42c1d1a5bf45341a2b476c19ea31ee9913337..8d0616fd33f9ebb46762b1d54952cb14fcb938ec 100644 (file)
@@ -79,7 +79,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <math.h>
+#include <cmath>
 
 #include <simgear/constants.h>
 #include <simgear/sg_inlines.h>