Skip site navigation (1)Skip section navigation (2)
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/>
References:  <bug-273373-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273373

--- Comment #1 from Jan Beich <jbeich@FreeBSD.org> ---
Created attachment 244372
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D244372&action=
=3Dedit
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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273373-227-wnNpMfhGif>