#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+
+#ifdef HAVE_MATH_H
#include <math.h>
+#endif
#include <glib/gi18n.h>
#include "viking.h"
(VikLayerFuncCreate) vik_coord_layer_create,
(VikLayerFuncRealize) NULL,
- coord_layer_post_read,
+ (VikLayerFuncPostRead) coord_layer_post_read,
(VikLayerFuncFree) vik_coord_layer_free,
(VikLayerFuncProperties) NULL,
vik_layer_init ( VIK_LAYER(vcl), VIK_LAYER_COORD );
InitColor.pixel = 0;
- InitColor.red = 65535;
- InitColor.green = 65535;
- InitColor.blue = 65535;
+ InitColor.red = 65535;
+ InitColor.green = 65535;
+ InitColor.blue = 65535;
vcl->gc = NULL;
vcl->deg_inc = 1.0/60.0;