summaryrefslogtreecommitdiff
path: root/src/core/audit-fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/audit-fd.c')
-rw-r--r--src/core/audit-fd.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/audit-fd.c b/src/core/audit-fd.c
index 0a8626fbc2..5955bd846e 100644
--- a/src/core/audit-fd.c
+++ b/src/core/audit-fd.c
@@ -19,16 +19,18 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <stdbool.h>
-#include <errno.h>
+#include <errno.h>
#include "audit-fd.h"
-#include "log.h"
#ifdef HAVE_AUDIT
+#include <stdbool.h>
#include <libaudit.h>
+#include "log.h"
+#include "util.h"
+
static bool initialized = false;
static int audit_fd;