[packages] time: add the GNU time utility
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27986 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
11
utils/time/patches/002-fix-rusage.patch
Normal file
11
utils/time/patches/002-fix-rusage.patch
Normal file
@ -0,0 +1,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. */
|
Reference in New Issue
Block a user