1.1 --- a/src/os/solaris/vm/thread_solaris.inline.hpp Tue Nov 27 10:13:20 2012 +0100 1.2 +++ b/src/os/solaris/vm/thread_solaris.inline.hpp Tue Nov 27 14:20:21 2012 +0100 1.3 @@ -25,6 +25,10 @@ 1.4 #ifndef OS_SOLARIS_VM_THREAD_SOLARIS_INLINE_HPP 1.5 #define OS_SOLARIS_VM_THREAD_SOLARIS_INLINE_HPP 1.6 1.7 +#ifndef SHARE_VM_RUNTIME_THREAD_INLINE_HPP_SCOPE 1.8 +#error "This file should only be included from thread.inline.hpp" 1.9 +#endif 1.10 + 1.11 #include "runtime/atomic.hpp" 1.12 #include "runtime/prefetch.hpp" 1.13 #include "runtime/thread.hpp"