[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:
swalker
2011-08-15 03:38:32 +00:00
parent 1d392afde9
commit 33c7c309c1
3 changed files with 90 additions and 0 deletions

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