agent: Use the our poll typedef.

This commit is contained in:
Andreas Schneider
2010-06-24 09:14:07 +02:00
parent e67fafd60f
commit 5080671581

View File

@@ -85,7 +85,7 @@ static size_t atomicio(struct 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(s);
pfd.fd = fd;