summaryrefslogtreecommitdiff
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, 3 insertions, 0 deletions
diff --git a/procps/free.c b/procps/free.c
index ca75313..47f2fc3 100644
--- a/procps/free.c
+++ b/procps/free.c
@@ -22,6 +22,9 @@
//usage: "Total: 386144 257128 129016\n"
#include "libbb.h"
+#ifdef __linux__
+# include <sys/sysinfo.h>
+#endif
struct globals {
unsigned mem_unit;