This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: wrong htons() used?
- To: richard dot earnshaw at arm dot com
- Subject: Re: wrong htons() used?
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 25 Oct 1999 10:51:56 +1000
- CC: Grant Edwards <grante at visi dot com>, "J.T. Conklin" <jtc at redback dot com>, Grant dot Edwards at comtrol dot com, gdb at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <199910221526.QAA16254@cam-mail1.cambridge.arm.com>
Richard Earnshaw wrote:
>
> > I thing the best option is to rename rdi-share/endian.h so that it
> > doesn't shadow /usr/include/endian.h. rdi-share/endian.h doesn't
> > appeart to be some strictly local stuff and not intented as a
> > replacement for /usr/include/endian.h.
>
> And maybe while they are fixing it they can track down and shoot the glibc
> person who put another non-standard header in a standard place...
Unfortunatly you would have to go back a long way. Endian.h has a (C)
date of 1992.
More seriously, why is <netinet/in.h> picking up the wrong endian.h?
Has this always happened or has something else recently changed?
Andrew