Subject: Question about _POSIX_SOURCE/_XOPEN_SOURCE
To: None <tech-toolchain@NetBSD.ORG>
From: Michael C. Richardson <email@example.com>
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: firstname.lastname@example.org. PGP key available.
-----BEGIN PGP SIGNATURE-----
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface
-----END PGP SIGNATURE-----