aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/common
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2017-01-20 19:21:24 -0800
committerAndrew Waterman <andrew@sifive.com>2017-01-20 19:22:59 -0800
commit08380798fab6285bfddb406344e21a671b6a02f9 (patch)
tree52503406c58d5d7914b19a42f298f916f4dbe4ba /benchmarks/common
parent6a1a38d421fd3e24bdc179d58d33572636b903b2 (diff)
downloadriscv-tests-08380798fab6285bfddb406344e21a671b6a02f9.zip
riscv-tests-08380798fab6285bfddb406344e21a671b6a02f9.tar.gz
riscv-tests-08380798fab6285bfddb406344e21a671b6a02f9.tar.bz2
Fix build with glibc
Diffstat (limited to 'benchmarks/common')
-rw-r--r--benchmarks/common/syscalls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmarks/common/syscalls.c b/benchmarks/common/syscalls.c
index 7357fab..3f15aac 100644
--- a/benchmarks/common/syscalls.c
+++ b/benchmarks/common/syscalls.c
@@ -11,6 +11,8 @@
#define SYS_exit 93
#define SYS_stats 1234
+#undef strcmp
+
extern volatile uint64_t tohost;
extern volatile uint64_t fromhost;