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
msg48345/pgp00000.pgp
Description: PGP signature