aboutsummaryrefslogtreecommitdiff
path: root/linux-user/riscv/termbits.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/riscv/termbits.h')
-rw-r--r--linux-user/riscv/termbits.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-user/riscv/termbits.h b/linux-user/riscv/termbits.h
index 7e4e230588..5e0af0dd3f 100644
--- a/linux-user/riscv/termbits.h
+++ b/linux-user/riscv/termbits.h
@@ -1,6 +1,9 @@
/* from asm/termbits.h */
/* NOTE: exactly the same as i386 */
+#ifndef LINUX_USER_RISCV_TERMBITS_H
+#define LINUX_USER_RISCV_TERMBITS_H
+
#define TARGET_NCCS 19
struct target_termios {
@@ -220,3 +223,5 @@ struct target_termios {
#define TARGET_TIOCPKT_DOSTOP 32
#define TARGET_TIOCSER_TEMT 0x01 /* Transmitter physically empty */
+
+#endif