Include <sys/time.h> in packeted_bio.h for 'timeval'

At least for newlib (Native Client) including sys/types.h
is not enough to get a timeval declaration.

Change-Id: I4971a1aacc80b6fdc12c0e81c5d8007ed13eb8b7
Reviewed-on: https://boringssl-review.googlesource.com/6722
Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
Sam Clegg 2015-12-14 16:40:35 -08:00 committed by Adam Langley
parent dca63cfa75
commit 88478562a4

View File

@ -25,7 +25,7 @@
#include <winsock2.h> #include <winsock2.h>
#pragma warning(pop) #pragma warning(pop)
#else #else
#include <sys/types.h> #include <sys/time.h>
#endif #endif