NI_MAXHOST and NI_MAXSERV need _GNU_SOURCE now (was: Re: Fedora i386 rawhide rebuild in mock status 2008-02-09)
Tomas Janousek
tjanouse at redhat.com
Thu Feb 14 16:23:55 UTC 2008
Hello,
On Wed, Feb 13, 2008 at 09:11:24AM -0600, Matt Domsch wrote:
> brltty-3.9-1.1.fc9 (build/make) tjanouse
> cyrus-imapd-2.3.9-8.fc9 (build/make) tjanouse
> tcp_wrappers-7.6-50.fc8 (build/make) tjanouse
I'm missing the NI_MAXHOST and NI_MAXSERV there because of this:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/resolv/netdb.h.diff?r1=1.47&r2=1.48&cvsroot=glibc
What do you think is the correct solution? Add a check to configure whether we
need _GNU_SOURCE to get these constants?
Also, this may be worth a man page change (they are mentioned in
getnameinfo(3)), so I'm Ccing Ivana.
Thanks in advance,
--
TJ. (Brno, CZ), BaseOS, Red Hat
More information about the fedora-devel-list
mailing list