aboutsummaryrefslogtreecommitdiff
path: root/linux-user/sparc64/target_syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/sparc64/target_syscall.h')
-rw-r--r--linux-user/sparc64/target_syscall.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-user/sparc64/target_syscall.h b/linux-user/sparc64/target_syscall.h
index 2cbbaaed1b..34f49df4a1 100644
--- a/linux-user/sparc64/target_syscall.h
+++ b/linux-user/sparc64/target_syscall.h
@@ -1,6 +1,8 @@
#ifndef SPARC64_TARGET_SYSCALL_H
#define SPARC64_TARGET_SYSCALL_H
+#include "../sparc/target_errno.h"
+
struct target_pt_regs {
abi_ulong u_regs[16];
abi_ulong tstate;
@@ -29,5 +31,4 @@ static inline abi_ulong target_shmlba(CPUSPARCState *env)
{
return MAX(TARGET_PAGE_SIZE, 16 * 1024);
}
-
#endif /* SPARC64_TARGET_SYSCALL_H */