* bootstrap.conf (gnulib_modules): Add sys_resource.
* src/sort.c: Remove #if HAVE_SYS_RESOURCE_H guard around inclusion
of <sys/resource.h> and move the inclusion "up" into the alphabetized
list of its peers. This also avoids a failure of the
sc_prohibit_always_true_header_tests syntax-check rule.
* m4/jm-macros.m4 (gl_CHECK_ALL_HEADERS): Remove sys/resource.h.
strtoumax
symlink
sys_ioctl
+ sys_resource
sys_stat
sys_wait
termios
priv.h
stropts.h
sys/param.h
- sys/resource.h
sys/systeminfo.h
syslog.h
])
#include <getopt.h>
#include <pthread.h>
+#include <sys/resource.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <signal.h>
#include "xnanosleep.h"
#include "xstrtol.h"
-#if HAVE_SYS_RESOURCE_H
-# include <sys/resource.h>
-#endif
#ifndef RLIMIT_DATA
struct rlimit { size_t rlim_cur; };
# define getrlimit(Resource, Rlp) (-1)