diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/cgroup.h | 3 | ||||
-rw-r--r-- | src/core/dbus-cgroup.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/core/cgroup.h b/src/core/cgroup.h index b8d1a09467..ef3ee14ad0 100644 --- a/src/core/cgroup.h +++ b/src/core/cgroup.h @@ -127,7 +127,8 @@ typedef enum CGroupIPAccountingMetric { _CGROUP_IP_ACCOUNTING_METRIC_INVALID = -1, } CGroupIPAccountingMetric; -#include "unit.h" +typedef struct Unit Unit; +typedef struct Manager Manager; void cgroup_context_init(CGroupContext *c); void cgroup_context_done(CGroupContext *c); diff --git a/src/core/dbus-cgroup.h b/src/core/dbus-cgroup.h index c1c41759e3..b0cd63ebc3 100644 --- a/src/core/dbus-cgroup.h +++ b/src/core/dbus-cgroup.h @@ -9,6 +9,7 @@ #include "sd-bus.h" +#include "unit.h" #include "cgroup.h" extern const sd_bus_vtable bus_cgroup_vtable[]; |