CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
procps: updated to 3.3.3 and aligned with upstream. Cleaned cross patches.
[crossrootfs.git] / time / resuse.h.patch
CommitLineData
6dca1d21
JB
1--- resuse.h.orig 2009-07-22 14:22:08.000000000 +0000
2+++ resuse.h 2009-07-22 14:25:13.000000000 +0000
3@@ -36,20 +36,7 @@ struct timeval
4 # include <sys/rusage.h>
5 #else
6 # define TV_MSEC tv_usec / 1000
7-# if HAVE_WAIT3
8-# include <sys/resource.h>
9-# else
10-/* Process resource usage structure. */
11-struct rusage
12-{
13- struct timeval ru_utime; /* User time used. */
14- struct timeval ru_stime; /* System time used. */
15- int ru_maxrss, ru_ixrss, ru_idrss, ru_isrss,
16- ru_minflt, ru_majflt, ru_nswap, ru_inblock,
17- ru_oublock, ru_msgsnd, ru_msgrcv, ru_nsignals,
18- ru_nvcsw, ru_nivcsw;
19-};
20-# endif
21+# include <sys/resource.h>
22 #endif
23
24 /* Information on the resources used by a child process. */