packages/utils/time/patches/002-fix-rusage.patch
swalker 33c7c309c1 [packages] time: add the GNU time utility
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 03:38:32 +00:00

12 lines
251 B
Diff

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