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
--==========1356440887========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi! While compiling some third-party code I got this: gcc -D_POSIX_C_SOURCE=3D200112L -D_XOPEN_SOURCE_=3D600=20 -D_XOPEN_SOURCE_EXTENDED=3D1 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 --==========1356440887========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE98zhL7YQCetAaG3MRAoEIAJ9uMq3opgPshiQtpObJUBDxJ6kRPACZAQVa tOFHxLk7iu1gtsD0x/BQIEA= =vo9W -----END PGP SIGNATURE----- --==========1356440887==========-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?509390000.1039349835>