aboutsummaryrefslogtreecommitdiff
path: root/linux-user/x86_64
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/x86_64')
-rw-r--r--linux-user/x86_64/syscall_nr.h5
-rw-r--r--linux-user/x86_64/termbits.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/linux-user/x86_64/syscall_nr.h b/linux-user/x86_64/syscall_nr.h
index 16397b3e8f..9b6981e74c 100644
--- a/linux-user/x86_64/syscall_nr.h
+++ b/linux-user/x86_64/syscall_nr.h
@@ -1,3 +1,6 @@
+#ifndef LINUX_USER_X86_64_SYSCALL_NR_H
+#define LINUX_USER_X86_64_SYSCALL_NR_H
+
#define TARGET_NR_read 0
#define TARGET_NR_write 1
#define TARGET_NR_open 2
@@ -325,3 +328,5 @@
#define TARGET_NR_membarrier 324
#define TARGET_NR_mlock2 325
#define TARGET_NR_copy_file_range 326
+
+#endif
diff --git a/linux-user/x86_64/termbits.h b/linux-user/x86_64/termbits.h
index f5776a8aa6..c8bb5996b1 100644
--- a/linux-user/x86_64/termbits.h
+++ b/linux-user/x86_64/termbits.h
@@ -1,3 +1,6 @@
+#ifndef LINUX_USER_X86_64_TERMBITS_H
+#define LINUX_USER_X86_64_TERMBITS_H
+
#define TARGET_NCCS 19
typedef unsigned char target_cc_t;
@@ -246,3 +249,5 @@ struct target_termios {
#define TARGET_TIOCPKT_DOSTOP 32
#define TARGET_TIOCSER_TEMT 0x01 /* Transmitter physically empty */
+
+#endif