diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-07-30 10:45:58 +0200 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-07-30 10:45:58 +0200 |
commit | 766bae9d7626bb596fc3b60d2cd5fe5a7fc356db (patch) | |
tree | ec6aa6d9ea44d8eea5c47a8d1245c4fbe2930d96 /libssh/poll.c | |
parent | 94a57df0c9eceda18679b2823de74837fb5a73c1 (diff) | |
download | libssh-766bae9d7626bb596fc3b60d2cd5fe5a7fc356db.tar.gz libssh-766bae9d7626bb596fc3b60d2cd5fe5a7fc356db.tar.xz libssh-766bae9d7626bb596fc3b60d2cd5fe5a7fc356db.zip |
Fix build with MSVC.
Diffstat (limited to 'libssh/poll.c')
-rw-r--r-- | libssh/poll.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libssh/poll.c b/libssh/poll.c index 662e5ac..55183cd 100644 --- a/libssh/poll.c +++ b/libssh/poll.c @@ -81,6 +81,7 @@ int ssh_poll(pollfd_t *fds, nfds_t nfds, int timeout) { #include <stdio.h> #include <windows.h> +#include <errno.h> static int poll_rest (HANDLE *handles, int nhandles, pollfd_t *fds, nfds_t nfds, int timeout) { |