[Bug 273373] <sys/timerfd.h> fails to build in POSIX mode due to namespace pollution
Date: Sat, 26 Aug 2023 23:42:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273373 --- Comment #1 from Jan Beich <jbeich@FreeBSD.org> --- Created attachment 244372 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=244372&action=edit Drop <sys/proc.h> via forward declaration Tested by: $ echo 'int main() {}' | cc -xc - -o/dev/null -include sys/sys/timerfd.h $ echo 'int main() {}' | cc -xc - -o/dev/null -D_KERNEL -include sys/sys/timerfd.h -- You are receiving this mail because: You are the assignee for the bug.