diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-07-26 13:42:12 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-07-26 13:42:12 +0200 |
commit | 67905e2d7c6ee273b753af22fb22de0ebec918c1 (patch) | |
tree | cd61c7674c123307490cf1ff290ecb76a5c2905c /procps/ps.c | |
parent | 4abcb8b0d1c41544902ccd7927148eea393be37e (diff) | |
download | busybox-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/ps.c')
-rw-r--r-- | procps/ps.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/procps/ps.c b/procps/ps.c index 7537118f6..dcc0f7bd4 100644 --- a/procps/ps.c +++ b/procps/ps.c | |||
@@ -62,6 +62,9 @@ enum { MAX_WIDTH = 2*1024 }; | |||
62 | 62 | ||
63 | #if ENABLE_DESKTOP | 63 | #if ENABLE_DESKTOP |
64 | 64 | ||
65 | #ifdef __linux__ | ||
66 | # include <sys/sysinfo.h> | ||
67 | #endif | ||
65 | #include <sys/times.h> /* for times() */ | 68 | #include <sys/times.h> /* for times() */ |
66 | #ifndef AT_CLKTCK | 69 | #ifndef AT_CLKTCK |
67 | # define AT_CLKTCK 17 | 70 | # define AT_CLKTCK 17 |