summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/inline/rtems/posix/rwlock.inl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/posix/inline/rtems/posix/rwlock.inl4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/posix/inline/rtems/posix/rwlock.inl b/cpukit/posix/inline/rtems/posix/rwlock.inl
index 79d13a66cf..f75d741710 100644
--- a/cpukit/posix/inline/rtems/posix/rwlock.inl
+++ b/cpukit/posix/inline/rtems/posix/rwlock.inl
@@ -16,6 +16,10 @@
* $Id$
*/
+#ifndef _RTEMS_POSIX_RWLOCK_H
+# error "Never use <rtems/posix/rwlock.inl> directly; include <rtems/posix/rwlock.h> instead."
+#endif
+
#ifndef _RTEMS_POSIX_RWLOCK_INL
#define _RTEMS_POSIX_RWLOCK_INL