summaryrefslogtreecommitdiffstats
path: root/include/libssh/poll.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/poll.h')
-rw-r--r--include/libssh/poll.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/poll.h b/include/libssh/poll.h
index 88a16a1..6c5dbbe 100644
--- a/include/libssh/poll.h
+++ b/include/libssh/poll.h
@@ -21,6 +21,7 @@
#ifndef POLL_H_
#define POLL_H_
+
#include "config.h"
#ifdef HAVE_POLL
@@ -135,6 +136,7 @@ typedef struct ssh_poll_handle_struct *ssh_poll_handle;
typedef int (*ssh_poll_callback)(ssh_poll_handle p, socket_t fd, int revents,
void *userdata);
+struct ssh_socket_struct;
ssh_poll_handle ssh_poll_new(socket_t fd, short events, ssh_poll_callback cb,
void *userdata);