fix missing standard includes

These were a problem only if arch.h does not include them.

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
Simon Goldschmidt
2018-10-23 07:46:13 +02:00
parent 06cc825431
commit ef02b1dc20
7 changed files with 15 additions and 9 deletions

View File

@@ -48,7 +48,7 @@ sntp_set_system_time(u32_t sec)
#endif
strftime(buf, sizeof(buf), "%d.%m.%Y %H:%M:%S", &current_time_val);
printf("SNTP time: %s\n", buf);
LWIP_PLATFORM_DIAG(("SNTP time: %s\n", buf));
}
void