diff options
Diffstat (limited to 'networking/slattach.c')
-rw-r--r-- | networking/slattach.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/slattach.c b/networking/slattach.c index 14e0c1941..d9d8fe7b8 100644 --- a/networking/slattach.c +++ b/networking/slattach.c | |||
@@ -27,6 +27,7 @@ | |||
27 | //usage: "\n -F Disable RTS/CTS flow control" | 27 | //usage: "\n -F Disable RTS/CTS flow control" |
28 | 28 | ||
29 | #include "libbb.h" | 29 | #include "libbb.h" |
30 | #include "common_bufsiz.h" | ||
30 | #include "libiproute/utils.h" /* invarg_1_to_2() */ | 31 | #include "libiproute/utils.h" /* invarg_1_to_2() */ |
31 | 32 | ||
32 | struct globals { | 33 | struct globals { |
@@ -34,7 +35,7 @@ struct globals { | |||
34 | int saved_disc; | 35 | int saved_disc; |
35 | struct termios saved_state; | 36 | struct termios saved_state; |
36 | } FIX_ALIASING; | 37 | } FIX_ALIASING; |
37 | #define G (*(struct globals*)&bb_common_bufsiz1) | 38 | #define G (*(struct globals*)bb_common_bufsiz1) |
38 | #define handle (G.handle ) | 39 | #define handle (G.handle ) |
39 | #define saved_disc (G.saved_disc ) | 40 | #define saved_disc (G.saved_disc ) |
40 | #define saved_state (G.saved_state ) | 41 | #define saved_state (G.saved_state ) |