libaudit.c does not include the necessary headers. Patch attached, tested and works. Reproducible: Always
Created attachment 244293 [details, diff] Patch to include required headers.
+ 24 Aug 2010; Samuli Suominen <ssuominen@gentoo.org> audit-1.7.4.ebuild, + +files/audit-1.7.4-glibc212.patch: + Fix building with recent glibc wrt #334147 by William Keaney.