summaryrefslogtreecommitdiff
path: root/src/grp-system/libcore/target.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/grp-system/libcore/target.h')
-rw-r--r--src/grp-system/libcore/target.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/grp-system/libcore/target.h b/src/grp-system/libcore/target.h
index 9ac560ab17..406b80019c 100644
--- a/src/grp-system/libcore/target.h
+++ b/src/grp-system/libcore/target.h
@@ -19,12 +19,10 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#if __INCLUDE_LEVEL__ <= 1
-#error "Do not include target.h directly; use unit.h, which includes target.h."
-#endif
-
typedef struct Target Target;
+#include "unit.h"
+
struct Target {
Unit meta;