Get struct timeval from sys/time.h.
The naclports patch switches sys/types.h to sys/time.h. Per http://pubs.opengroup.org/onlinepubs/009604499/basedefs/sys/time.h.html this is correct. Change-Id: If6d56cb28fa16a1d8b4515a45532434f6c23a29d Reviewed-on: https://boringssl-review.googlesource.com/6624 Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
parent
1246670caa
commit
0abd6f2eb6
@ -155,7 +155,7 @@
|
||||
#include <winsock2.h>
|
||||
#pragma warning(pop)
|
||||
#else
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include <netinet/tcp.h>
|
||||
#include <signal.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <io.h>
|
||||
@ -33,7 +33,6 @@
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <openssl/bio.h>
|
||||
#include <openssl/buf.h>
|
||||
|
Loading…
Reference in New Issue
Block a user