Re: fds_bits

1999-09-17 Thread Herbert Xu
Ben Collins <[EMAIL PROTECTED]> wrote: >> > problem code: >> >if (fds_bits[i]) { >> > >> > declaration in sys/types.h: >> > /usr/include/bits/types.h: __fd_mask fds_bits[__FD_SETSIZE / __NFDBITS]; >> > (there are a few other

Re: fds_bits

1999-09-17 Thread Joel Klecker
At 17:23 -0400 1999-09-16, Ben Collins wrote: The way I have overcome this with glibc 2.1 is to use __fds_bits or add "#define __USE_XOPEN 1" to your source at the top. NO, NO, NO! *Never* use the __USE macros, those are internal, for each __USE_FOO there is a corresponding _FOO_SOURCE which shoul

Re: fds_bits

1999-09-17 Thread Ben Collins
On Thu, Sep 16, 1999 at 09:06:09PM -0400, Raul Miller wrote: > On Fri, Sep 17, 1999 at 04:34:44AM +0800, Paul Harris wrote: > > compiler error: > > vrweb-1.5/src/common/Dispatch/fdmask.C:99: `fds_bits' undeclared (first > > use this function) > > > >

Re: fds_bits

1999-09-17 Thread Raul Miller
On Fri, Sep 17, 1999 at 04:34:44AM +0800, Paul Harris wrote: > compiler error: > vrweb-1.5/src/common/Dispatch/fdmask.C:99: `fds_bits' undeclared (first > use this function) > > problem code: > if (fds_bits[i]) { > > declaration in sys/types.h: > /usr/

fds_bits

1999-09-16 Thread Paul Harris
hi again, thanks Ray for the netinet-includes tips: that bit is compiling nicely now :) now, i'm having problems with some fds_bits thingy. what is it used for and where is it defined? i thought it was in sys/types.h, but the compiler doesn't seem to see the declaration (little ambig