summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelipe Sateler <fsateler@debian.org>2018-05-15 14:12:22 -0400
committerSven Eden <yamakuzure@gmx.net>2018-08-24 16:47:08 +0200
commit89206c9053e756697b0f1fce2ed692dc395c9fd5 (patch)
treeecde3a4d5c3521235103e95c79949587c2035f42 /src
parent031ec29c2d9cfab381bad7a8bad6308da2130649 (diff)
core: Break circular dependency between unit.h and cgroup.h
Diffstat (limited to 'src')
-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);