Thamer Alharbash
talharbash@primustel.ca
Wed Mar 10 14:40:30 UTC 2004
On Wed, 10 Mar 2004, Zelei Tamas wrote: Sorry for the double post but I made an error in my last one. > clnt_send.c:1943: `POLLRDNORM' undeclared (first use in this function) > clnt_send.c:1943: (Each undeclared identifier is reported only once > clnt_send.c:1943: for each function it appears in.) > clnt_send.c:1943: `POLLRDBAND' undeclared (first use in this function) > clnt_send.c:1945: `POLLWRNORM' undeclared (first use in this function) > clnt_send.c:1945: `POLLWRBAND' undeclared (first use in this function) > make[1]: *** [clnt_send.o] Error 1 > make: *** [all] Error 2 I mentioned defining __USE_XOPEN_SOURCE at the top of clnt_send.c for a quick fix. It's actually __USE_XOPEN #include "dcc_clnt.h" #define __USE_XOPEN #ifdef USE_POLL #include <poll.h> #endif #ifdef HAVE_ARPA_NAMESER_H #include <arpa/nameser.h> #endif #ifdef HAVE_RESOLV_H #include <resolv.h> #endif This isn't a permanent fix for obvious reasons (__* is system preprocessor namespace). -- Thamer Alharbash Systems Developer Internet Services Group Primus Canada +416-207-7073
More information about the DCC
mailing list