Description: Add missing headers to fix undefined reference to `S_ISREG' linker error and hence FTBFS Author: Bhavani Shankar Bug-Ubuntu: https://bugs.launchpad.net/bugs/600129 diff -ru audit-2.1.3/lib/libaudit.c audit-2.1.3.pat/lib/libaudit.c --- audit-2.1.3/lib/libaudit.c 2011-08-16 03:31:03.000000000 +1000 +++ audit-2.1.3.pat/lib/libaudit.c 2012-01-24 17:50:36.387133058 +1100 @@ -37,6 +37,8 @@ #include #include /* O_NOFOLLOW needs gnu defined */ #include /* for PATH_MAX */ +#include +#include #include "libaudit.h" #include "private.h"