olsrd: fix compilation with musl 1.2.x
[feed/routing.git] / olsrd / patches / 010-musl.patch
1 --- a/lib/pud/nmealib/src/info.c
2 +++ b/lib/pud/nmealib/src/info.c
3 @@ -172,7 +172,7 @@ bool nmeaTimeParseDate(const char *s, NmeaTime *date) {
4 void nmeaTimeSet(NmeaTime *utc, uint32_t *present, struct timeval *timeval) {
5 struct timeval tv;
6 struct tm tm;
7 - long usec;
8 + time_t usec;
9
10 if (!utc) {
11 return;