]> git.street.me.uk Git - andy/viking.git/blobdiff - src/coords.c
When manually creating a track, automatically give it a default name.
[andy/viking.git] / src / coords.c
index 7990cfc2d19d3bf38b022b676079c717c50fcedc..25eb900c033b617f7be642a993a6fdf9d6f1411d 100644 (file)
@@ -35,10 +35,19 @@ renaming functions and defining LatLon and UTM structs.
 ** OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 ** SUCH DAMAGE.
 */
 ** OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 ** SUCH DAMAGE.
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 
 
+#ifdef HAVE_STDLIB_H
 #include <stdlib.h>
 #include <stdlib.h>
+#endif
+#ifdef HAVE_STRING_H
 #include <string.h>
 #include <string.h>
+#endif
+#ifdef HAVE_MATH_H
 #include <math.h>
 #include <math.h>
+#endif
 
 #include "viking.h"
 #include "globals.h"
 
 #include "viking.h"
 #include "globals.h"