Message ID | 20220525104057.543354-3-laurent@vivier.eu |
---|---|
State | New |
Headers | show |
Series | [PULL,1/8] linux-user: Clean up arg_start/arg_end confusion | expand |
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index dd0d92ba4ee0..488facb3560e 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -1053,8 +1053,10 @@ static inline int target_to_host_resource(int code) return RLIMIT_RSS; case TARGET_RLIMIT_RTPRIO: return RLIMIT_RTPRIO; +#ifdef RLIMIT_RTTIME case TARGET_RLIMIT_RTTIME: return RLIMIT_RTTIME; +#endif case TARGET_RLIMIT_SIGPENDING: return RLIMIT_SIGPENDING; case TARGET_RLIMIT_STACK: