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
commit 739bbd1355
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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