summaryrefslogtreecommitdiffstats
path: root/linux-user/sparc/target_syscall.h
diff options
context:
space:
mode:
authorLaurent Vivier2018-05-10 01:11:22 +0200
committerLaurent Vivier2018-05-11 19:05:31 +0200
commit0562384910bb304b6c811ecac0ad95e699a4c368 (patch)
treeb9fc427604a6e5a5ede8130cb42c749f17cedacb /linux-user/sparc/target_syscall.h
parentlinux-user: fix conversion of flock/flock64 l_type field (diff)
downloadqemu-0562384910bb304b6c811ecac0ad95e699a4c368.tar.gz
qemu-0562384910bb304b6c811ecac0ad95e699a4c368.tar.xz
qemu-0562384910bb304b6c811ecac0ad95e699a4c368.zip
linux-user: add sparc/sparc64 specific errno
Copied from linux/arch/sparc/include/uapi/asm/errno.h Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Max Filippov <jcmvbkbc@gmail.com> Message-Id: <20180509231123.20864-6-laurent@vivier.eu>
Diffstat (limited to 'linux-user/sparc/target_syscall.h')
-rw-r--r--linux-user/sparc/target_syscall.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/sparc/target_syscall.h b/linux-user/sparc/target_syscall.h
index 5f09abfe89..3725875fcf 100644
--- a/linux-user/sparc/target_syscall.h
+++ b/linux-user/sparc/target_syscall.h
@@ -1,6 +1,8 @@
#ifndef SPARC_TARGET_SYSCALL_H
#define SPARC_TARGET_SYSCALL_H
+#include "target_errno.h"
+
struct target_pt_regs {
abi_ulong psr;
abi_ulong pc;