summaryrefslogtreecommitdiff
path: root/loginutils/login.c
diff options
context:
space:
mode:
Diffstat (limited to 'loginutils/login.c')
-rw-r--r--loginutils/login.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/loginutils/login.c b/loginutils/login.c
index 4ebc185..ea7c5a2 100644
--- a/loginutils/login.c
+++ b/loginutils/login.c
@@ -62,6 +62,7 @@
//usage: "\n -p Preserve environment"
#include "libbb.h"
+#include "common_bufsiz.h"
#include <syslog.h>
#include <sys/resource.h>
@@ -138,7 +139,7 @@ enum {
struct globals {
struct termios tty_attrs;
} FIX_ALIASING;
-#define G (*(struct globals*)&bb_common_bufsiz1)
+#define G (*(struct globals*)bb_common_bufsiz1)
#define INIT_G() do { } while (0)