chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shared: fix a misspelling of "journalctl"
[elogind.git]
/
src
/
login
/
logind-acl.h
diff --git
a/src/login/logind-acl.h
b/src/login/logind-acl.h
index ea34590bd12f2fb29fe1e7c060d2250483fc7fd1..5587becca5b770a3f6c5366fc5e5151d9eb145de 100644
(file)
--- a/
src/login/logind-acl.h
+++ b/
src/login/logind-acl.h
@@
-1,7
+1,4
@@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
-#ifndef foologindaclhfoo
-#define foologindaclhfoo
+#pragma once
/***
This file is part of systemd.
/***
This file is part of systemd.
@@
-22,9
+19,14
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <sys/types.h>
#include <stdbool.h>
#include <stdbool.h>
+#include <sys/types.h>
+
+#if 0 /// elogind needs the systems udev header
+#include "libudev.h"
+#else
#include <libudev.h>
#include <libudev.h>
+#endif // 0
#ifdef HAVE_ACL
#ifdef HAVE_ACL
@@
-56,5
+58,3
@@
static inline int devnode_acl_all(struct udev *udev,
}
#endif
}
#endif
-
-#endif