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

sres_blocking.c: pollfd now defined even if poll unsupported

parent aaabf1ba
......@@ -86,7 +86,13 @@ struct sres_blocking_s
struct { sres_socket_t fd; } fds[SRES_MAX_NAMESERVERS];
#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 */
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