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