diff options
Diffstat (limited to 'procps/uptime.c')
-rw-r--r-- | procps/uptime.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/procps/uptime.c b/procps/uptime.c index 1a7da46a3..74323625d 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 */ |