diff options
Diffstat (limited to 'networking/arping.c')
-rw-r--r-- | networking/arping.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/arping.c b/networking/arping.c index ef205e5..52f5ba5 100644 --- a/networking/arping.c +++ b/networking/arping.c @@ -28,6 +28,7 @@ #include <netpacket/packet.h> #include "libbb.h" +#include "common_bufsiz.h" /* We don't expect to see 1000+ seconds delay, unsigned is enough */ #define MONOTONIC_US() ((unsigned)monotonic_us()) @@ -60,7 +61,7 @@ struct globals { unsigned brd_recv; unsigned req_recv; } FIX_ALIASING; -#define G (*(struct globals*)&bb_common_bufsiz1) +#define G (*(struct globals*)bb_common_bufsiz1) #define src (G.src ) #define dst (G.dst ) #define me (G.me ) |