diff options
Diffstat (limited to 'src/grp-system/libcore/target.h')
-rw-r--r-- | src/grp-system/libcore/target.h | 4 |
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 { |