fix some compile problems with mingw

This commit is contained in:
Simon Goldschmidt
2022-01-12 22:16:00 +01:00
parent a55679224f
commit 215dec653b
3 changed files with 19 additions and 15 deletions

View File

@@ -50,6 +50,11 @@
#define LWIP_PROVIDE_ERRNO /* provide errno for non-MSVC */
#endif /* _MSC_VER */
#ifdef __GNUC__
#define LWIP_TIMEVAL_PRIVATE 0
#include <sys/time.h>
#endif
/* Define platform endianness (might already be defined) */
#ifndef BYTE_ORDER
#define BYTE_ORDER LITTLE_ENDIAN