agent: Use the our poll typedef.

This commit is contained in:
Andreas Schneider
2010-06-24 09:14:07 +02:00
parent 4581b24b48
commit 703f125882

View File

@@ -85,7 +85,7 @@ static size_t atomicio(ssh_socket s, void *buf, size_t n, int do_read) {
char *b = buf;
size_t pos = 0;
ssize_t res;
struct pollfd pfd;
ssh_pollfd_t pfd;
socket_t fd = ssh_socket_get_fd_in(s);
pfd.fd = fd;