diff options
Diffstat (limited to 'cpukit/libnetworking/libc/res_send.c')
-rw-r--r-- | cpukit/libnetworking/libc/res_send.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/libnetworking/libc/res_send.c b/cpukit/libnetworking/libc/res_send.c index 08cb78490f..fadc16c566 100644 --- a/cpukit/libnetworking/libc/res_send.c +++ b/cpukit/libnetworking/libc/res_send.c @@ -95,11 +95,14 @@ static char rcsid[] = "$Id$"; #include <stdlib.h> #include <string.h> #include <unistd.h> +#if !defined(__rtems__) #include <poll.h> +#endif #include "res_config.h" #if !defined(__rtems__) + #ifdef NOPOLL /* libc_r doesn't wrap poll yet() */ static int use_poll = 0; #else |