1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-08 19:02:06 +03:00

cmake: Check for unistd.h.

This commit is contained in:
Andreas Schneider
2013-07-22 10:41:58 +02:00
parent 7d07e1f1bd
commit df81a05505
11 changed files with 55 additions and 21 deletions

View File

@@ -115,10 +115,13 @@ static poll_fn ssh_poll_emu;
#else /* _WIN32 */
#include <sys/select.h>
#include <sys/socket.h>
#include <unistd.h>
#include <sys/time.h>
#endif /* _WIN32 */
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
/*
* This is a poll(2)-emulation using select for systems not providing a native