summaryrefslogtreecommitdiff
path: root/src/grp-system/libcore/target.h
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-08-02 12:17:53 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-08-02 12:17:53 -0400
commite907d750b8e99c9a4dad6bc291f04ff9abaf1d0f (patch)
treee83aa9cebde4e35a7ee61d0f3e7e0608bc54d812 /src/grp-system/libcore/target.h
parent272b48187cee0b42b6e936ad2c045f13b391f3ad (diff)
fix
Diffstat (limited to 'src/grp-system/libcore/target.h')
-rw-r--r--src/grp-system/libcore/target.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/grp-system/libcore/target.h b/src/grp-system/libcore/target.h
index 339aea154e..9ac560ab17 100644
--- a/src/grp-system/libcore/target.h
+++ b/src/grp-system/libcore/target.h
@@ -19,6 +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;
struct Target {