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 should be used instead.
See /usr/share/doc/libc6/NOTES.gz or info libc "Feature Test Macros".
--
Joel Klecker (aka Espy) Debian GNU/Linux Developer
<URL:mailto:[EMAIL PROTECTED]> <URL:mailto:[EMAIL PROTECTED]>
<URL:http://web.espy.org/> <URL:http://www.debian.org/>