summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testsuites/samples/unlimited/test1.c2
-rw-r--r--testsuites/sptests/sp43/init.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/testsuites/samples/unlimited/test1.c b/testsuites/samples/unlimited/test1.c
index 2102285526..8eafec19b5 100644
--- a/testsuites/samples/unlimited/test1.c
+++ b/testsuites/samples/unlimited/test1.c
@@ -26,6 +26,8 @@
#include "system.h"
#include "tmacros.h"
+#include <rtems/score/objectimpl.h>
+
void test1()
{
bool auto_extend;
diff --git a/testsuites/sptests/sp43/init.c b/testsuites/sptests/sp43/init.c
index 3f742da5e6..1ea4479f65 100644
--- a/testsuites/sptests/sp43/init.c
+++ b/testsuites/sptests/sp43/init.c
@@ -13,10 +13,11 @@
#include "config.h"
#endif
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#define CONFIGURE_INIT
#include "system.h"
+#include <rtems/score/objectimpl.h>
+
/* These functions have both macro and function incarnations */
#undef rtems_build_id
extern rtems_id rtems_build_id(int api,int class,int node,int index);