Przeglądaj źródła

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>
kris/onging/CECPQ3_patch15
David Benjamin 9 lat temu
committed by Adam Langley
rodzic
commit
0abd6f2eb6
2 zmienionych plików z 2 dodań i 3 usunięć
  1. +1
    -1
      ssl/internal.h
  2. +1
    -2
      ssl/test/bssl_shim.cc

+ 1
- 1
ssl/internal.h Wyświetl plik

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




+ 1
- 2
ssl/test/bssl_shim.cc Wyświetl plik

@@ -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>


Ładowanie…
Anuluj
Zapisz