diff options
author | Felipe Sateler <fsateler@debian.org> | 2018-05-15 14:17:34 -0400 |
---|---|---|
committer | Felipe Sateler <fsateler@debian.org> | 2018-05-15 14:24:34 -0400 |
commit | 57b7a260c20f58a5c5d9c1e1aacde50646863919 (patch) | |
tree | 2c0321e30ee80d5502024b30d09aa99405660ec5 /src/core/target.h | |
parent | core: Break circular dependency between unit.h and cgroup.h (diff) | |
download | systemd-57b7a260c20f58a5c5d9c1e1aacde50646863919.tar.gz systemd-57b7a260c20f58a5c5d9c1e1aacde50646863919.tar.bz2 systemd-57b7a260c20f58a5c5d9c1e1aacde50646863919.zip |
core: undo the dependency inversion between unit.h and all unit types
Diffstat (limited to 'src/core/target.h')
-rw-r--r-- | src/core/target.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/target.h b/src/core/target.h index 2b099c251..4a2dea17e 100644 --- a/src/core/target.h +++ b/src/core/target.h @@ -1,6 +1,8 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once +#include "unit.h" + /*** This file is part of systemd. @@ -16,3 +18,5 @@ struct Target { }; extern const UnitVTable target_vtable; + +DEFINE_CAST(TARGET, Target); |