https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234205
Bug ID: 234205 Summary: /usr/include/sys/file.h uses the u_int typedef which causes C compilation to sometimes fail Product: Base System Version: 12.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: b...@freebsd.org Reporter: deepbluemist...@gmail.com If you compile a program, and give -D_XOPEN_SOURCE=700 to the compiler, and the program has #include <sys/file.h> the compiler gives an error like this: /usr/include/sys/file.h:226:2: error: unknown type name 'u_int' u_int xf_flag; /* flags (see fcntl.h) */ and then bails out. Why is the u_int typedef used instead of 'unsigned int' itself? It's unnecessary other than to save a couple keystrokes while typing. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"