wrap struct rlimit in HAVE_GETRLIMIT too

This commit is contained in:
Damien Miller 2021-04-07 08:50:38 +10:00
parent f283a6c2e0
commit e7d0a285db

View File

@ -1491,7 +1491,9 @@ process_extended_limits(u_int32_t id)
struct sshbuf *msg;
int r;
uint64_t nfiles = 0;
#ifdef HAVE_GETRLIMIT
struct rlimit rlim;
#endif
debug("request %u: limits", id);