diff options
Diffstat (limited to 'include/asm-sparc')
-rw-r--r-- | include/asm-sparc/termbits.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-sparc/termbits.h b/include/asm-sparc/termbits.h index 90cf2210118b..d6ca3e2754f5 100644 --- a/include/asm-sparc/termbits.h +++ b/include/asm-sparc/termbits.h | |||
@@ -5,7 +5,12 @@ | |||
5 | 5 | ||
6 | typedef unsigned char cc_t; | 6 | typedef unsigned char cc_t; |
7 | typedef unsigned int speed_t; | 7 | typedef unsigned int speed_t; |
8 | |||
9 | #if defined(__sparc__) && defined(__arch64__) | ||
10 | typedef unsigned int tcflag_t; | ||
11 | #else | ||
8 | typedef unsigned long tcflag_t; | 12 | typedef unsigned long tcflag_t; |
13 | #endif | ||
9 | 14 | ||
10 | #define NCC 8 | 15 | #define NCC 8 |
11 | struct termio { | 16 | struct termio { |