aboutsummaryrefslogtreecommitdiff
path: root/procps/free.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/free.c')
-rw-r--r--procps/free.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/procps/free.c b/procps/free.c
index 0d023f740..9fde64b64 100644
--- a/procps/free.c
+++ b/procps/free.c
@@ -22,6 +22,7 @@
22//usage: "Total: 386144 257128 129016\n" 22//usage: "Total: 386144 257128 129016\n"
23 23
24#include "libbb.h" 24#include "libbb.h"
25#include "common_bufsiz.h"
25#ifdef __linux__ 26#ifdef __linux__
26# include <sys/sysinfo.h> 27# include <sys/sysinfo.h>
27#endif 28#endif
@@ -35,7 +36,7 @@ struct globals {
35# define G_unit_steps 10 36# define G_unit_steps 10
36#endif 37#endif
37} FIX_ALIASING; 38} FIX_ALIASING;
38#define G (*(struct globals*)&bb_common_bufsiz1) 39#define G (*(struct globals*)bb_common_bufsiz1)
39#define INIT_G() do { } while (0) 40#define INIT_G() do { } while (0)
40 41
41 42