summaryrefslogtreecommitdiffstats
path: root/testsuites/benchmarks/linpack/linpack-pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/benchmarks/linpack/linpack-pc.c')
-rw-r--r--testsuites/benchmarks/linpack/linpack-pc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuites/benchmarks/linpack/linpack-pc.c b/testsuites/benchmarks/linpack/linpack-pc.c
index f85e677c97..1fef18eb96 100644
--- a/testsuites/benchmarks/linpack/linpack-pc.c
+++ b/testsuites/benchmarks/linpack/linpack-pc.c
@@ -223,6 +223,11 @@
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
+#ifdef __rtems__
+#include <tmacros.h>
+#undef print_time
+#define fprintf(f, ...) rtems_printf(&rtems_test_printer, __VA_ARGS__)
+#endif /* __rtems__ */
static REAL atime[9][15];