diff --git a/storage.c b/storage.c index e2713d2..190de9e 100644 --- a/storage.c +++ b/storage.c @@ -4,6 +4,7 @@ #include #include #include +#include #include #include #include "utstring.h" @@ -271,7 +272,6 @@ void locations(char *filename, JsonNode *obj, JsonNode *arr, time_t s_lo, time_t long counter = 0L; static char *numbers[] = { "lat", "lon", "batt", "vel", "cog", "tst", "alt", "dist", "trip", NULL }; static char *strings[] = { "tid", "t", NULL }; - extern int errno; static UT_string *tstamp = NULL; utstring_renew(tstamp);