]> git.street.me.uk Git - andy/viking.git/blobdiff - src/vikmapslayer.c
QA: improve portability
[andy/viking.git] / src / vikmapslayer.c
index c93f3320e508c2c2f9edcd91f11fc1d13e9fd9ed..1021b3e89dba102967dfa48569a5b74dd692b7ae 100644 (file)
 #include <glib/gstdio.h>
 #include <glib/gi18n.h>
 
+#ifdef HAVE_STRING_H
 #include <string.h>
+#endif
+#ifdef HAVE_MATH_H
 #include <math.h>
+#endif
+
 #include "globals.h"
 #include "coords.h"
 #include "vikcoord.h"