mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-26 23:34:55 +02:00
wrap struct rlimit in HAVE_GETRLIMIT too
This commit is contained in:
parent
f283a6c2e0
commit
e7d0a285db
@ -1491,7 +1491,9 @@ process_extended_limits(u_int32_t id)
|
|||||||
struct sshbuf *msg;
|
struct sshbuf *msg;
|
||||||
int r;
|
int r;
|
||||||
uint64_t nfiles = 0;
|
uint64_t nfiles = 0;
|
||||||
|
#ifdef HAVE_GETRLIMIT
|
||||||
struct rlimit rlim;
|
struct rlimit rlim;
|
||||||
|
#endif
|
||||||
|
|
||||||
debug("request %u: limits", id);
|
debug("request %u: limits", id);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user