Date: Sun, 08 Dec 2002 13:17:15 +0100 From: Marc Recht <marc@informatik.uni-bremen.de> To: freebsd-current@FreeBSD.ORG Subject: sys/file.h and POSIX Message-ID: <509390000.1039349835@leeloo.intern.geht.de>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi!
While compiling some third-party code I got this:
gcc -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE_=600
-D_XOPEN_SOURCE_EXTENDED=1 test.c
In file included from test.c:2:
/usr/include/sys/file.h:130: syntax error before "u_int"
This makes me wonder a bit.. Shouldn't the header at least be includeable ?
Eg. setting __BSD_VISIBLE around xfile ?
Test source:
#include <sys/types.h>
#include <sys/file.h>
int main() {
return 0;
}
Regards,
Marc
"Premature optimization is the root of all evil." -- Donald E. Knuth
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)
iD8DBQE98zhL7YQCetAaG3MRAoEIAJ9uMq3opgPshiQtpObJUBDxJ6kRPACZAQVa
tOFHxLk7iu1gtsD0x/BQIEA=
=vo9W
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?509390000.1039349835>
