Date: Sat, 26 Aug 2023 23:42:26 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 273373] <sys/timerfd.h> fails to build in POSIX mode due to namespace pollution Message-ID: <bug-273373-227-wnNpMfhGif@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-273373-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
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.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273373-227-wnNpMfhGif>
