Merge pull request #6125 from embhorn/gh6007

Include sys/time.h for WOLFSSL_RIOT_OS
This commit is contained in:
David Garske
2023-02-22 16:06:10 -08:00
committed by GitHub

View File

@ -105,9 +105,11 @@
#include <errno.h> #include <errno.h>
#endif #endif
#if defined(__MACH__) || defined(__FreeBSD__) || defined(__INCLUDE_NUTTX_CONFIG_H) #if defined(__MACH__) || defined(__FreeBSD__) || \
defined(__INCLUDE_NUTTX_CONFIG_H) || defined(WOLFSSL_RIOT_OS)
#include <sys/time.h> #include <sys/time.h>
#endif /* __MACH__ || __FreeBSD__ || __INCLUDE_NUTTX_CONFIG_H */ #endif /* __MACH__ || __FreeBSD__ ||
__INCLUDE_NUTTX_CONFIG_H || WOLFSSL_RIOT_OS */
#include <wolfssl/internal.h> #include <wolfssl/internal.h>