summaryrefslogtreecommitdiffstats
path: root/utils/time/patches/002-fix-rusage.patch
blob: 714cf0cc1a91202b59613335d4d954a34ea686be (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/resuse.h
+++ b/resuse.h
@@ -36,7 +36,7 @@ struct timeval
 # include <sys/rusage.h>
 #else
 # define TV_MSEC tv_usec / 1000
-# if HAVE_WAIT3
+# if HAVE_SYS_RESOURCE_H
 #  include <sys/resource.h>
 # else
 /* Process resource usage structure.  */