Merge pull request #1750 from JacobBarthelmeh/SanityChecks

update condition for include of sys/time.h
This commit is contained in:
David Garske
2018-08-15 11:28:05 -06:00
committed by GitHub

View File

@@ -463,7 +463,7 @@ WOLFSSL_API int wolfCrypt_Cleanup(void);
/* default */ /* default */
/* uses complete <time.h> facility */ /* uses complete <time.h> facility */
#include <time.h> #include <time.h>
#if defined(HAVE_SYS_TIME_H) || defined(WOLF_C99) #if defined(HAVE_SYS_TIME_H)
#include <sys/time.h> #include <sys/time.h>
#endif #endif