chiark / gitweb /
audit: smaller fixes to audit hookup
[elogind.git] / src / manager.c
index e32b24ff516da78bf895e82044f67b474fbeaa13..9c962ca8153a4168e23f918c7d5797d6e3f38dd0 100644 (file)
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <dirent.h>
+
+#ifdef HAVE_AUDIT
 #include <libaudit.h>
+#endif
 
 #include "manager.h"
 #include "hashmap.h"