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

Michael H. Warfield mhw at wittsend.com
Fri Oct 17 22:13:15 UTC 2008


On Fri, 2008-10-17 at 10:57 -0700, Ulrich Drepper wrote:
> 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.

	Ok...  Fair enough.  An explanation and a fix.  And quick!  Can't ask
for much better than that.

> - --
> ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖


	Many thanks!

	Regards,
	Mike
-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471        | possible worlds.  A pessimist is sure of it!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20081017/b2fc6c66/attachment-0001.sig>


More information about the fedora-list mailing list