update condition for include of sys/time.h

This commit is contained in:
Jacob Barthelmeh
2018-08-10 09:12:53 -06:00
parent 64f553d944
commit 278fd9c054

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