summaryrefslogtreecommitdiff
path: root/networking/tcpudp.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/tcpudp.c')
-rw-r--r--networking/tcpudp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/tcpudp.c b/networking/tcpudp.c
index 3df6a98..6249730 100644
--- a/networking/tcpudp.c
+++ b/networking/tcpudp.c
@@ -67,6 +67,7 @@
//usage: "\n -v Verbose"
#include "libbb.h"
+#include "common_bufsiz.h"
/* Wants <limits.h> etc, thus included after libbb.h: */
#ifdef __linux__
@@ -91,7 +92,7 @@ struct globals {
char **env_cur;
char *env_var[1]; /* actually bigger */
} FIX_ALIASING;
-#define G (*(struct globals*)&bb_common_bufsiz1)
+#define G (*(struct globals*)bb_common_bufsiz1)
#define verbose (G.verbose )
#define max_per_host (G.max_per_host)
#define cur_per_host (G.cur_per_host)