Assume <sys/resource.h> exists

It is required by POSIX.1-2001.

Cc: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
Alejandro Colomar
2022-12-02 22:20:55 +01:00
committed by Serge Hallyn
parent cdaa04e460
commit 9d695340b4
4 changed files with 19 additions and 30 deletions

View File

@@ -11,11 +11,9 @@
#ident "$Id$"
#if HAVE_SYS_RESOURCE_H
# include <sys/time.h> /* for struct timeval on sunos4 */
#include <sys/time.h> /* for struct timeval on sunos4 */
/* XXX - is the above ok or should it be <time.h> on ultrix? */
# include <sys/resource.h>
#endif
#include <sys/resource.h>
#include "prototypes.h"
int set_filesize_limit (int blocks)