summaryrefslogtreecommitdiff
path: root/src/grp-system
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-10-21 03:54:34 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-10-21 03:54:34 -0400
commit3ff85c76a6594fae008a548800fd47a126ab6eb5 (patch)
tree593418166ae3aa1075e2b617553741de36559a1c /src/grp-system
parent2e2f4ab33afd09e5b4ad3abe75e871cbb21961d4 (diff)
fix includability of headers
Diffstat (limited to 'src/grp-system')
-rw-r--r--src/grp-system/libcore/cgroup.h8
-rw-r--r--src/grp-system/libcore/mount.h1
2 files changed, 5 insertions, 4 deletions
diff --git a/src/grp-system/libcore/cgroup.h b/src/grp-system/libcore/cgroup.h
index 0026609570..a52a70b5e6 100644
--- a/src/grp-system/libcore/cgroup.h
+++ b/src/grp-system/libcore/cgroup.h
@@ -21,10 +21,6 @@
#include <stdbool.h>
-#include "systemd-basic/cgroup-util.h"
-#include "systemd-basic/list.h"
-#include "systemd-basic/time-util.h"
-
typedef struct CGroupContext CGroupContext;
typedef struct CGroupDeviceAllow CGroupDeviceAllow;
typedef struct CGroupIODeviceWeight CGroupIODeviceWeight;
@@ -32,6 +28,10 @@ typedef struct CGroupIODeviceLimit CGroupIODeviceLimit;
typedef struct CGroupBlockIODeviceWeight CGroupBlockIODeviceWeight;
typedef struct CGroupBlockIODeviceBandwidth CGroupBlockIODeviceBandwidth;
+#include "systemd-basic/cgroup-util.h"
+#include "systemd-basic/list.h"
+#include "systemd-basic/time-util.h"
+
typedef enum CGroupDevicePolicy {
/* When devices listed, will allow those, plus built-in ones,
diff --git a/src/grp-system/libcore/mount.h b/src/grp-system/libcore/mount.h
index da529c44f4..0caef2b451 100644
--- a/src/grp-system/libcore/mount.h
+++ b/src/grp-system/libcore/mount.h
@@ -21,6 +21,7 @@
typedef struct Mount Mount;
+#include "cgroup.h"
#include "execute.h"
#include "kill.h"