aboutsummaryrefslogtreecommitdiff
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 3df6a98d8..624973042 100644
--- a/networking/tcpudp.c
+++ b/networking/tcpudp.c
@@ -67,6 +67,7 @@
67//usage: "\n -v Verbose" 67//usage: "\n -v Verbose"
68 68
69#include "libbb.h" 69#include "libbb.h"
70#include "common_bufsiz.h"
70 71
71/* Wants <limits.h> etc, thus included after libbb.h: */ 72/* Wants <limits.h> etc, thus included after libbb.h: */
72#ifdef __linux__ 73#ifdef __linux__
@@ -91,7 +92,7 @@ struct globals {
91 char **env_cur; 92 char **env_cur;
92 char *env_var[1]; /* actually bigger */ 93 char *env_var[1]; /* actually bigger */
93} FIX_ALIASING; 94} FIX_ALIASING;
94#define G (*(struct globals*)&bb_common_bufsiz1) 95#define G (*(struct globals*)bb_common_bufsiz1)
95#define verbose (G.verbose ) 96#define verbose (G.verbose )
96#define max_per_host (G.max_per_host) 97#define max_per_host (G.max_per_host)
97#define cur_per_host (G.cur_per_host) 98#define cur_per_host (G.cur_per_host)