summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spheapprot/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/spheapprot/init.c')
-rw-r--r--testsuites/sptests/spheapprot/init.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/testsuites/sptests/spheapprot/init.c b/testsuites/sptests/spheapprot/init.c
index d48703faa4..aaea75dd79 100644
--- a/testsuites/sptests/spheapprot/init.c
+++ b/testsuites/sptests/spheapprot/init.c
@@ -20,12 +20,10 @@
#include <stdlib.h>
#include <assert.h>
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
-
-#include <rtems.h>
-
#include <bsp.h>
+#include <rtems/score/heapimpl.h>
+
#ifdef HEAP_PROTECTION
static void test_heap_block_error(Heap_Control *heap, Heap_Block *block)
{