diff options
Diffstat (limited to 'networking/telnet.c')
-rw-r--r-- | networking/telnet.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/telnet.c b/networking/telnet.c index 944cf1bd6..2946bc831 100644 --- a/networking/telnet.c +++ b/networking/telnet.c | |||
@@ -39,6 +39,7 @@ | |||
39 | #include <arpa/telnet.h> | 39 | #include <arpa/telnet.h> |
40 | #include <netinet/in.h> | 40 | #include <netinet/in.h> |
41 | #include "libbb.h" | 41 | #include "libbb.h" |
42 | #include "common_bufsiz.h" | ||
42 | 43 | ||
43 | #ifdef __BIONIC__ | 44 | #ifdef __BIONIC__ |
44 | /* should be in arpa/telnet.h */ | 45 | /* should be in arpa/telnet.h */ |
@@ -108,7 +109,7 @@ struct globals { | |||
108 | struct termios termios_def; | 109 | struct termios termios_def; |
109 | struct termios termios_raw; | 110 | struct termios termios_raw; |
110 | } FIX_ALIASING; | 111 | } FIX_ALIASING; |
111 | #define G (*(struct globals*)&bb_common_bufsiz1) | 112 | #define G (*(struct globals*)bb_common_bufsiz1) |
112 | #define INIT_G() do { \ | 113 | #define INIT_G() do { \ |
113 | BUILD_BUG_ON(sizeof(G) > COMMON_BUFSIZE); \ | 114 | BUILD_BUG_ON(sizeof(G) > COMMON_BUFSIZE); \ |
114 | } while (0) | 115 | } while (0) |