aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-02-18 20:31:22 -0600
committerRob Landley <rob@landley.net>2016-02-18 20:31:22 -0600
commit42cad120baa22bc043bcce6f5aac74fa26a01aef (patch)
treecc5e8ca16ef53aacc3e5c1ed67504f0c33e21dae /lib
parent32b3587af261c2fb416f5de1be8f00fd5c1283d5 (diff)
downloadtoybox-42cad120baa22bc043bcce6f5aac74fa26a01aef.tar.gz
RLIMIT_RTTIME was added to the kernel in 2008, you can't expect uClibc to have noticed yet.
Diffstat (limited to 'lib')
-rw-r--r--lib/portability.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/portability.h b/lib/portability.h
index 53b08704..d0d0bd90 100644
--- a/lib/portability.h
+++ b/lib/portability.h
@@ -41,6 +41,10 @@
#define AT_REMOVEDIR 0x200
#endif
+#ifndef RLIMIT_RTTIME
+#define RLIMIT_RTTIME 15
+#endif
+
// We don't define GNU_dammit because we're not part of the gnu project, and
// don't want to get any FSF on us. Unfortunately glibc (gnu libc)
// won't give us Linux syscall wrappers without claiming to be part of the