aboutsummaryrefslogtreecommitdiff
path: root/linux-user/microblaze
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/microblaze')
-rw-r--r--linux-user/microblaze/syscall_nr.h5
-rw-r--r--linux-user/microblaze/termbits.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/linux-user/microblaze/syscall_nr.h b/linux-user/microblaze/syscall_nr.h
index 5d1a47a9a9..aa2eb93881 100644
--- a/linux-user/microblaze/syscall_nr.h
+++ b/linux-user/microblaze/syscall_nr.h
@@ -1,3 +1,6 @@
+#ifndef LINUX_USER_MICROBLAZE_SYSCALL_NR_H
+#define LINUX_USER_MICROBLAZE_SYSCALL_NR_H
+
#define TARGET_NR_restart_syscall 0 /* ok */
#define TARGET_NR_exit 1 /* ok */
#define TARGET_NR_fork 2 /* not for no MMU - weird */
@@ -390,3 +393,5 @@
#define TARGET_NR_memfd_create 386
#define TARGET_NR_bpf 387
#define TARGET_NR_execveat 388
+
+#endif
diff --git a/linux-user/microblaze/termbits.h b/linux-user/microblaze/termbits.h
index c825cd2f5e..17db8a4473 100644
--- a/linux-user/microblaze/termbits.h
+++ b/linux-user/microblaze/termbits.h
@@ -1,5 +1,8 @@
/* from asm/termbits.h */
+#ifndef LINUX_USER_MICROBLAZE_TERMBITS_H
+#define LINUX_USER_MICROBLAZE_TERMBITS_H
+
#define TARGET_NCCS 19
struct target_termios {
@@ -212,3 +215,5 @@ struct target_termios {
#define TARGET_TIOCPKT_DOSTOP 32
#define TARGET_TIOCSER_TEMT 0x01 /* Transmitter physically empty */
+
+#endif