packages/utils/time/patches/002-fix-rusage.patch

12 lines
251 B
Diff
Raw Permalink Normal View History

--- 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. */