summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/inline/rtems/chain.inl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/sapi/inline/rtems/chain.inl4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/sapi/inline/rtems/chain.inl b/cpukit/sapi/inline/rtems/chain.inl
index 6885f3b1f3..b49454b259 100644
--- a/cpukit/sapi/inline/rtems/chain.inl
+++ b/cpukit/sapi/inline/rtems/chain.inl
@@ -27,6 +27,10 @@
* $Id$
*/
+#ifndef _RTEMS_CHAIN_H
+# error "Never use <rtems/chain.inl> directly; include <rtems/chain.h> instead."
+#endif
+
#ifndef _RTEMS_CHAIN_INL
#define _RTEMS_CHAIN_INL