commit | 67905e2d7c6ee273b753af22fb22de0ebec918c1 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Tue Jul 26 13:42:12 2011 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Tue Jul 26 13:42:12 2011 +0200 |
tree | cd61c7674c123307490cf1ff290ecb76a5c2905c | |
parent | 4abcb8b0d1c41544902ccd7927148eea393be37e [diff] [blame] |
*: work around sysinfo.h versus linux/*.h problems Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/procps/uptime.c b/procps/uptime.c index 1a7da46..7432362 100644 --- a/procps/uptime.c +++ b/procps/uptime.c
@@ -25,6 +25,10 @@ //usage: " 1:55pm up 2:30, load average: 0.09, 0.04, 0.00\n" #include "libbb.h" +#ifdef __linux__ +# include <sys/sysinfo.h> +#endif + #ifndef FSHIFT # define FSHIFT 16 /* nr of bits of precision */