On Mon, 14 Jul 2003, Andrew C Aitchison wrote: > On Sun, 13 Jul 2003, Alan Coopersmith wrote:
> > > ../../lib/xtrans/Xtranssock.c: At top level: > > > ../../lib/xtrans/Xtranssock.c:1315: `MAXHOSTNAMELEN' undeclared here (not in a > > > function) > > Is there some other file that needs to be included to define this? > > (It's in <netdb.h> on Solaris, and <asm/param.h> on RedHat 8.) > <rpc/types.h> on RedHat 6.2, 7.3 and 8.0 (I don't have access to RH9 yet) > <asm/param.h> on RedHat 7.3 and 8.0, but not in 6.2. > Value 64 in all cases. > > Or perhaps NI_MAXHOST would be a better choice since it's defined by > > RFC 2133. > NI_MAXHOST is in /usr/include/netdb.h on RedHat 6.2, 7.3 and 8.0. > Value 1025 on all three. Do the extra 961 bytes matter ? RH9 is the same as RH8 in both respects. Marc. +----------------------------------+-----------------------------------+ | Marc Aurele La France | work: 1-780-492-9310 | | Computing and Network Services | fax: 1-780-492-1729 | | 352 General Services Building | email: [EMAIL PROTECTED] | | University of Alberta +-----------------------------------+ | Edmonton, Alberta | | | T6G 2H1 | Standard disclaimers apply | | CANADA | | +----------------------------------+-----------------------------------+ XFree86 Core Team member. ATI driver and X server internals. _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel