From 055f102601c201463d628d910c2f9dfe0e91d075 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 17 Dec 2014 19:39:18 +0100 Subject: 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 (cherry picked from commit b7b535816d5fa49b0d1783f4cb42086f4169b1da) --- ConfigureChecks.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 8f76af82..d9ef5a76 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -51,6 +51,7 @@ check_include_file(pty.h HAVE_PTY_H) 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(sys/time.h HAVE_SYS_TIME_H) if (WIN32) check_include_files("winsock2.h;ws2tcpip.h;wspiapi.h" HAVE_WSPIAPI_H) -- cgit