From fd45c1b36b4ccb9247af1cf69a07fda1152f6c72 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 24 Jun 2010 09:16:58 +0200 Subject: poll: Fixed building with poll-emulation on UNIX. --- libssh/socket.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libssh/socket.c') diff --git a/libssh/socket.c b/libssh/socket.c index d074ed47..c88a149d 100644 --- a/libssh/socket.c +++ b/libssh/socket.c @@ -72,8 +72,9 @@ int ssh_socket_init(void) { return -1; } - ssh_poll_init(); #endif + ssh_poll_init(); + return 0; } /* -- cgit