summaryrefslogtreecommitdiffstats
path: root/libc
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2010-01-13 16:28:13 -0800
committerColin Cross <ccross@android.com>2010-01-15 15:57:02 -0800
commite9d08ba5236fb6524c7b65135ef133002027f050 (patch)
tree028d1c758c1f41a30719da1bba3e767b17552468 /libc
parent2497f65fee7c132d1ddb1997dbfa07678c07c4f0 (diff)
downloadbionic-e9d08ba5236fb6524c7b65135ef133002027f050.zip
bionic-e9d08ba5236fb6524c7b65135ef133002027f050.tar.gz
bionic-e9d08ba5236fb6524c7b65135ef133002027f050.tar.bz2
Add definition of rlim_t
Change-Id: Ie8c2451360cbcce9fc1587528a95aca09a03d0de
Diffstat (limited to 'libc')
-rw-r--r--libc/include/sys/resource.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/include/sys/resource.h b/libc/include/sys/resource.h
index a7de6f0..ef325c7 100644
--- a/libc/include/sys/resource.h
+++ b/libc/include/sys/resource.h
@@ -40,6 +40,8 @@
#include <linux/resource.h>
#undef getrusage
+typedef unsigned long rlim_t;
+
__BEGIN_DECLS
extern int getpriority(int, int);