summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-07-24 13:25:06 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-07-24 13:25:06 +0000
commitce75da600a2c46755679561e3b4d025048addd16 (patch)
tree13b594c3fbabdf159690270b51671374ec7da3b1 /cpukit/libnetworking/libc
parent2002-07-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-ce75da600a2c46755679561e3b4d025048addd16.tar.bz2
2002-07-24 Joel Sherrill <joel@OARcorp.com>
* Makefile.am, libc/res_send.c: Do not install or use <poll.h> since RTEMS does not support it.
Diffstat (limited to 'cpukit/libnetworking/libc')
-rw-r--r--cpukit/libnetworking/libc/res_send.c3
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