chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
journal: rotate busy files away when we try to write to them
[elogind.git]
/
src
/
login
/
logind-inhibit.h
diff --git
a/src/login/logind-inhibit.h
b/src/login/logind-inhibit.h
index 6364b00586a22ece7a253822c463dc16265c29e8..e72536f2ac3570fa9b3024977d071065e3bbf9d2 100644
(file)
--- a/
src/login/logind-inhibit.h
+++ b/
src/login/logind-inhibit.h
@@
-26,8
+26,6
@@
typedef struct Inhibitor Inhibitor;
#include "list.h"
#include "util.h"
#include "list.h"
#include "util.h"
-#include "logind.h"
-#include "logind-seat.h"
typedef enum InhibitWhat {
INHIBIT_SHUTDOWN = 1,
typedef enum InhibitWhat {
INHIBIT_SHUTDOWN = 1,
@@
-44,6
+42,9
@@
typedef enum InhibitMode {
_INHIBIT_MODE_INVALID = -1
} InhibitMode;
_INHIBIT_MODE_INVALID = -1
} InhibitMode;
+#include "logind.h"
+#include "logind-seat.h"
+
struct Inhibitor {
Manager *manager;
struct Inhibitor {
Manager *manager;