aboutsummaryrefslogtreecommitdiff
path: root/procps/free.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-07-26 13:42:12 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-07-26 13:42:12 +0200
commit67905e2d7c6ee273b753af22fb22de0ebec918c1 (patch)
treecd61c7674c123307490cf1ff290ecb76a5c2905c /procps/free.c
parent4abcb8b0d1c41544902ccd7927148eea393be37e (diff)
downloadbusybox-w32-67905e2d7c6ee273b753af22fb22de0ebec918c1.tar.gz
busybox-w32-67905e2d7c6ee273b753af22fb22de0ebec918c1.tar.bz2
busybox-w32-67905e2d7c6ee273b753af22fb22de0ebec918c1.zip
*: work around sysinfo.h versus linux/*.h problems
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps/free.c')
-rw-r--r--procps/free.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/procps/free.c b/procps/free.c
index ca753134c..47f2fc3b2 100644
--- a/procps/free.c
+++ b/procps/free.c
@@ -22,6 +22,9 @@
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#ifdef __linux__
26# include <sys/sysinfo.h>
27#endif
25 28
26struct globals { 29struct globals {
27 unsigned mem_unit; 30 unsigned mem_unit;