aboutsummaryrefslogtreecommitdiff
path: root/linux-user/openrisc/termbits.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/openrisc/termbits.h')
-rw-r--r--linux-user/openrisc/termbits.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-user/openrisc/termbits.h b/linux-user/openrisc/termbits.h
index 231a49806b..7a635ffbc6 100644
--- a/linux-user/openrisc/termbits.h
+++ b/linux-user/openrisc/termbits.h
@@ -1,3 +1,6 @@
+#ifndef LINUX_USER_OPENRISC_TERMBITS_H
+#define LINUX_USER_OPENRISC_TERMBITS_H
+
typedef unsigned char target_openrisc_cc; /*cc_t*/
typedef unsigned int target_openrisc_speed; /*speed_t*/
typedef unsigned int target_openrisc_tcflag; /*tcflag_t*/
@@ -294,3 +297,5 @@ struct target_termios3 {
#define TARGET_TIOCPKT_IOCTL 64
#define TARGET_TIOCSER_TEMT 0x01 /* Transmitter physically empty */
+
+#endif