summaryrefslogtreecommitdiffstats
path: root/arch/x86/um/shared/sysdep/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/um/shared/sysdep/ptrace.h')
-rw-r--r--arch/x86/um/shared/sysdep/ptrace.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/um/shared/sysdep/ptrace.h b/arch/x86/um/shared/sysdep/ptrace.h
index 5ef9344a8b2..2bbe1ec2d96 100644
--- a/arch/x86/um/shared/sysdep/ptrace.h
+++ b/arch/x86/um/shared/sysdep/ptrace.h
@@ -1,3 +1,6 @@
+#ifndef __SYSDEP_X86_PTRACE_H
+#define __SYSDEP_X86_PTRACE_H
+
#ifdef __i386__
#include "ptrace_32.h"
#else
@@ -8,3 +11,5 @@ static inline long regs_return_value(struct uml_pt_regs *regs)
{
return UPT_SYSCALL_RET(regs);
}
+
+#endif /* __SYSDEP_X86_PTRACE_H */