aboutsummaryrefslogtreecommitdiff
path: root/src/os/bsd/vm/thread_bsd.inline.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/bsd/vm/thread_bsd.inline.hpp')
-rw-r--r--src/os/bsd/vm/thread_bsd.inline.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/os/bsd/vm/thread_bsd.inline.hpp b/src/os/bsd/vm/thread_bsd.inline.hpp
index 290f47786..ba8baaf3d 100644
--- a/src/os/bsd/vm/thread_bsd.inline.hpp
+++ b/src/os/bsd/vm/thread_bsd.inline.hpp
@@ -25,6 +25,10 @@
#ifndef OS_BSD_VM_THREAD_BSD_INLINE_HPP
#define OS_BSD_VM_THREAD_BSD_INLINE_HPP
+#ifndef SHARE_VM_RUNTIME_THREAD_INLINE_HPP_SCOPE
+#error "This file should only be included from thread.inline.hpp"
+#endif
+
#include "runtime/atomic.hpp"
#include "runtime/prefetch.hpp"
#include "runtime/thread.hpp"