From 3ff85c76a6594fae008a548800fd47a126ab6eb5 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 21 Oct 2016 03:54:34 -0400 Subject: fix includability of headers --- src/grp-system/libcore/cgroup.h | 8 ++++---- src/grp-system/libcore/mount.h | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'src/grp-system') 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 -#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" -- cgit v1.2.3-54-g00ecf