chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: do not add implicit dbus.socket dependency
[elogind.git]
/
src
/
core
/
audit-fd.c
diff --git
a/src/core/audit-fd.c
b/src/core/audit-fd.c
index 0a8626fbc29462b83c124a148016050dfe232c10..5955bd846e32bf8eaba66e5e698e5364ca87312c 100644
(file)
--- 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/>.
***/
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 "audit-fd.h"
-#include "log.h"
#ifdef HAVE_AUDIT
#ifdef HAVE_AUDIT
+#include <stdbool.h>
#include <libaudit.h>
#include <libaudit.h>
+#include "log.h"
+#include "util.h"
+
static bool initialized = false;
static int audit_fd;
static bool initialized = false;
static int audit_fd;