summaryrefslogtreecommitdiff
path: root/src/manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-11 15:19:50 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-11 15:19:50 +0200
commit830f6caa77edbdafabba0869a205f2ba5095f758 (patch)
tree8f1bf1b77c90d49406240228d532690ce4fdee3a /src/manager.c
parent2ee68f721168378a037a112a5400af0b92805432 (diff)
audit: smaller fixes to audit hookup
Diffstat (limited to 'src/manager.c')
-rw-r--r--src/manager.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/manager.c b/src/manager.c
index e32b24ff51..9c962ca815 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -36,7 +36,10 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
+
+#ifdef HAVE_AUDIT
#include <libaudit.h>
+#endif
#include "manager.h"
#include "hashmap.h"