--- src/auditd/ia.c.orig 2001-10-10 02:30:11.000000000 +0200 +++ src/auditd/ia.c 2007-10-17 09:41:34.000000000 +0200 @@ -54,6 +54,10 @@ #include #include #include +#include +#if defined(__FreeBSD__) && (__FreeBSD_version >= 500035) +#include +#endif #include "sysdep.h" #include "packet.h"