summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/dl05/dl-o5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/dl05/dl-o5.cpp')
-rw-r--r--testsuites/libtests/dl05/dl-o5.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/testsuites/libtests/dl05/dl-o5.cpp b/testsuites/libtests/dl05/dl-o5.cpp
index 5918e8f2d5..b70790ea7b 100644
--- a/testsuites/libtests/dl05/dl-o5.cpp
+++ b/testsuites/libtests/dl05/dl-o5.cpp
@@ -1,6 +1,11 @@
-#include <cstdio>
-#include <stdexcept>
#include "dl-load.h" /* make the symbol a C linkage */
+
+#include <stdexcept>
+
+#include <rtems/test.h>
+
+#define printf(...) rtems_printf(&rtems_test_printer, __VA_ARGS__);
+
void exception_dl(bool throw_runtime)
{
printf("exception_dl: begin\n");