|
Message-ID: <20030807003257.GA5124@bitz.ca> Date: Thu, 7 Aug 2003 00:32:57 +0000 From: Michael Coulter <mjc@...z.ca> To: popa3d-users@...ts.openwall.com Subject: Re: inet.h error? On Thu, Aug 07, 2003 at 03:28:57AM +0400, Solar Designer wrote: > 2. There really appears to be a bug either in that header file or in > the way I'm using it with the #define's (_XOPEN_SOURCE and so on). > Camiel, -- if you're reading this, could you handle this report within > the OpenBSD team as appropriate? I'd appreciate being CC'd on any > discussions, especially if there's anything to correct on my part. In the in-tree version of virtual.c are these two lines: #define u_char unsigned char #define u_int unsigned int This is from sys/types.h #if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) typedef unsigned char u_char; typedef unsigned short u_short; typedef unsigned int u_int; typedef unsigned long u_long; typedef unsigned char unchar; /* Sys V compatibility */ typedef unsigned short ushort; /* Sys V compatibility */ typedef unsigned int uint; /* Sys V compatibility */ typedef unsigned long ulong; /* Sys V compatibility */ #endif Adding the two defines to virtual.c from 0.6.3 and changing from AUTH_SHADOW to AUTH_PASSWD is enough to get it compiled cleanly (aside from the sprintf() lecturing)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.