Subject: Re: Question about _POSIX_SOURCE/_XOPEN_SOURCE
To: Michael C. Richardson <mcr@sandelman.ottawa.on.ca>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-toolchain
Date: 02/15/1998 13:05:39
On Sun, 15 Feb 1998 15:27:03 -0500 
 "Michael C. Richardson" <mcr@sandelman.ottawa.on.ca> wrote:

 >   I was trying to built oleo. It asks for -D_XOPEN_SOURCE. 
 > [Oleo hasn't been updated since 1994, which is sad...]
 > 
 >   NetBSD's sys/types.h's does not define u_long in that case.
 >   This is 1.3.
 >
 >   However, sys/stat.h defines prototypes that use u_long that
 > are not protected by _XOPEN_SOURCE. What to do? I'm not a Posix lawyer...

The "u_long"s should be replaced with "unsigned long"s.  Feel free to
submit a patch :-)

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 415 428 6939