#ifdef __USE_GNU in /usr/include/bits/socket.h in F9 vs F8

Ulrich Drepper drepper at redhat.com
Fri Oct 17 17:57:12 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael H. Warfield wrote:
> 	I don't see the reason for this change since all it does is eliminate
> the ucred structure definition without defining any replacement.

This has nothing to do with replacing it.  The #ifdef is needed for
namespace hygiene.  This is a POSIX header and you cannot expect
non-POSIX symbols to be defined by default.  Just compile the whole
application with -D_GNU_SOURCE defined on the compiler command line.

- --
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkj40fcACgkQ2ijCOnn/RHSy8wCfXjiVsCiiqg1rgLtX5tM57Mw/
AV0AnRl5awoRdE5C+kmivN+TLHOvoTBR
=EiMH
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list