Commit 9ab6aa2f authored by Martti Mela's avatar Martti Mela

sres_blocking.c: pollfd now defined even if poll unsupported

darcs-hash:20070124134438-1b897-24967c567ec86e45957171f9ab04c38e6dd990de.gz
parent aaabf1ba
......@@ -86,7 +86,13 @@ struct sres_blocking_s
#elif HAVE_SELECT
struct { sres_socket_t fd; } fds[SRES_MAX_NAMESERVERS];
#else
#error No wait mechanism!
#warning No guaranteed wait mechanism!
/* typedef struct os_specific su_wait_t; */
struct _pollfd {
sres_socket_t fd; /* file descriptor */
short events; /* requested events */
short revents; /* returned events */
} fds[SRES_MAX_NAMESERVERS];
#endif
sres_record_t ***return_records;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment