http://bugs.gentoo.org/334147 --- lib/libaudit.c +++ lib/libaudit.c @@ -36,6 +36,8 @@ #include #include /* O_NOFOLLOW needs gnu defined */ #include /* for PATH_MAX */ +#include +#include /* S_ISREG */ #include "libaudit.h" #include "private.h"