summaryrefslogtreecommitdiff
path: root/src/core/scope.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-07-01 19:58:14 -0700
committerLennart Poettering <lennart@poettering.net>2016-07-20 14:53:15 +0200
commit9ce93478809de9a421b4a710c7c9de55ecf15187 (patch)
tree99df250db648850094c7a9555805aaf8abaa2e01 /src/core/scope.h
parent7a1ab780c4de9eba20c6800a51b5cdeae1d19790 (diff)
core: normalize header inclusion in execute.h a bit
We don't actually need any functionality from cgroup.h in execute.h, hence don't include that. However, we do need the Unit structure from unit.h, hence include that, and move it as late as possible, since it needs the definitions from execute.h.
Diffstat (limited to 'src/core/scope.h')
-rw-r--r--src/core/scope.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/scope.h b/src/core/scope.h
index 2dc86325c5..713b8b9f02 100644
--- a/src/core/scope.h
+++ b/src/core/scope.h
@@ -21,7 +21,9 @@
typedef struct Scope Scope;
+#include "cgroup.h"
#include "kill.h"
+#include "unit.h"
typedef enum ScopeResult {
SCOPE_SUCCESS,