From 89206c9053e756697b0f1fce2ed692dc395c9fd5 Mon Sep 17 00:00:00 2001 From: Felipe Sateler Date: Tue, 15 May 2018 14:12:22 -0400 Subject: [PATCH] core: Break circular dependency between unit.h and cgroup.h --- src/core/cgroup.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.30.2