summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/cgroup.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/cgroup.h b/src/core/cgroup.h
index 4e0155b11..a6b705aa6 100644
--- a/src/core/cgroup.h
+++ b/src/core/cgroup.h
@@ -128,7 +128,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);