summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/tls/tls-macros-riscv.h2
-rw-r--r--test/tls/tls-macros.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/test/tls/tls-macros-riscv.h b/test/tls/tls-macros-riscv.h
index d18f923..abce7ab 100644
--- a/test/tls/tls-macros-riscv.h
+++ b/test/tls/tls-macros-riscv.h
@@ -20,8 +20,6 @@
#include <sys/cdefs.h>
#include <sys/asm.h>
-#include <sysdep.h>
-#include "dl-tls.h"
#define TLS_GD(x) \
({ void *__result; \
diff --git a/test/tls/tls-macros.h b/test/tls/tls-macros.h
index d46f407..0c4a079 100644
--- a/test/tls/tls-macros.h
+++ b/test/tls/tls-macros.h
@@ -68,7 +68,7 @@
#include <tls-macros-powerpc64.h>
#endif
-#ifdef __riscv__
+#ifdef __riscv
#include <tls-macros-riscv.h>
#endif