diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2014-12-17 19:39:18 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2014-12-17 19:39:18 +0100 |
commit | b7b535816d5fa49b0d1783f4cb42086f4169b1da (patch) | |
tree | 317968a313dde1fe9c70b4355b5a5ef2c532f39f /ConfigureChecks.cmake | |
parent | d8e691b58a54ccaadcad11b3b205c77b27b8dbe5 (diff) | |
download | libssh-b7b535816d5fa49b0d1783f4cb42086f4169b1da.tar.gz libssh-b7b535816d5fa49b0d1783f4cb42086f4169b1da.tar.xz libssh-b7b535816d5fa49b0d1783f4cb42086f4169b1da.zip |
libcrypto: Fix Windows build with ssh_reseed().
gettimeofday() is not available on Windows and we need it only in case
of forking.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 5701bc39..c5018d8f 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -53,6 +53,7 @@ check_include_file(termios.h HAVE_TERMIOS_H) check_include_file(unistd.h HAVE_UNISTD_H) check_include_file(util.h HAVE_UTIL_H) check_include_file(libutil.h HAVE_LIBUTIL_H) +check_include_file(sys/time.h HAVE_SYS_TIME_H) if (WIN32) check_include_files("winsock2.h;ws2tcpip.h;wspiapi.h" HAVE_WSPIAPI_H) |