summaryrefslogtreecommitdiffstats
path: root/include/libcgroup/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcgroup/error.h')
-rw-r--r--include/libcgroup/error.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libcgroup/error.h b/include/libcgroup/error.h
index 4d756ff..9a463b9 100644
--- a/include/libcgroup/error.h
+++ b/include/libcgroup/error.h
@@ -1,6 +1,10 @@
#ifndef _LIBCGROUP_ERROR_H
#define _LIBCGROUP_ERROR_H
+#ifndef _LIBCGROUP_H_INSIDE
+#error "Only <libcgroup.h> should be included directly."
+#endif
+
#include <features.h>
__BEGIN_DECLS