Branch oldpackages for 14.07
[14.07/packages.git] / utils / time / patches / 002-fix-rusage.patch
1 --- a/resuse.h
2 +++ b/resuse.h
3 @@ -36,7 +36,7 @@ struct timeval
4  # include <sys/rusage.h>
5  #else
6  # define TV_MSEC tv_usec / 1000
7 -# if HAVE_WAIT3
8 +# if HAVE_SYS_RESOURCE_H
9  #  include <sys/resource.h>
10  # else
11  /* Process resource usage structure.  */