*: work around sysinfo.h versus linux/*.h problems

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2011-07-26 13:42:12 +02:00
parent 4abcb8b0d1
commit 67905e2d7c
5 changed files with 18 additions and 5 deletions

View File

@@ -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;