diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-10-21 03:54:34 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-10-21 03:54:34 -0400 |
commit | 3ff85c76a6594fae008a548800fd47a126ab6eb5 (patch) | |
tree | 593418166ae3aa1075e2b617553741de36559a1c /src/grp-system/libcore | |
parent | 2e2f4ab33afd09e5b4ad3abe75e871cbb21961d4 (diff) |
fix includability of headers
Diffstat (limited to 'src/grp-system/libcore')
-rw-r--r-- | src/grp-system/libcore/cgroup.h | 8 | ||||
-rw-r--r-- | src/grp-system/libcore/mount.h | 1 |
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" |