summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/src/rtems-bsd-rwlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'rtemsbsd/src/rtems-bsd-rwlock.c')
-rw-r--r--rtemsbsd/src/rtems-bsd-rwlock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rtemsbsd/src/rtems-bsd-rwlock.c b/rtemsbsd/src/rtems-bsd-rwlock.c
index 21c61dae..a38a9a14 100644
--- a/rtemsbsd/src/rtems-bsd-rwlock.c
+++ b/rtemsbsd/src/rtems-bsd-rwlock.c
@@ -37,13 +37,13 @@
* SUCH DAMAGE.
*/
-/* Necessary to obtain some internal functions */
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <pthread.h>
-#include <rtems/posix/rwlock.h>
#include <freebsd/machine/rtems-bsd-config.h>
+#include <rtems/score/objectimpl.h>
+#include <rtems/posix/rwlockimpl.h>
+
#include <sys/types.h>
#include <freebsd/sys/param.h>
#include <freebsd/sys/types.h>