From 42cad120baa22bc043bcce6f5aac74fa26a01aef Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 18 Feb 2016 20:31:22 -0600 Subject: RLIMIT_RTTIME was added to the kernel in 2008, you can't expect uClibc to have noticed yet. --- lib/portability.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/portability.h') 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 -- cgit v1.2.3