Subject: Question about _POSIX_SOURCE/_XOPEN_SOURCE
To: None <tech-toolchain@NetBSD.ORG>
From: Michael C. Richardson <mcr@sandelman.ottawa.on.ca>
List: tech-toolchain
Date: 02/15/1998 15:27:03
-----BEGIN PGP SIGNED MESSAGE-----


  [I hope toolchain is the right place]

  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...

  Removing _XOPEN_SOURCE from the Makefile makes it better, but then
I run into other problems.

   :!mcr!:            |  Sandelman Software Works Corporation, Ottawa, ON  
   Michael Richardson |Network and security consulting and contract programming
 Personal: mcr@sandelman.ottawa.on.ca. PGP key available.
 Corporate: sales@sandelman.ottawa.on.ca. 




 

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQB1AwUBNOdPldiXVu0RiA21AQEd1AL8CVjEkazZE7AGIjA8UHGOGhLbjAcaLcvm
XIPe3S0aR99ECo+bywpeXV62YfhFSHlJuSomZgo6WfPSlcdgb7OrxW1ByIHYP1Xk
P+f79fQK4JADRm26yJAdZ+LYG/SZGVJg
=czru
-----END PGP SIGNATURE-----