# include <config.h>
#endif
-#include "wrappers.h"
#include "util.h"
#include <sys/time.h>
#include <sys/resource.h>
#include <unistd.h>
+#include <fcntl.h>
+#include <errno.h>
+
+#define ENSC_WRAPPERS_PREFIX "exec-ulimit: "
+#define ENSC_WRAPPERS_UNISTD 1
+#define ENSC_WRAPPERS_FCNTL 1
+#define ENSC_WRAPPERS_RESOURCE 1
+#include <wrappers.h>
#define DECLARE_LIMIT(RES,FNAME) { #FNAME, RLIMIT_##RES }
char const *fname;
int code;
} const LIMITS[] = {
+ DECLARE_LIMIT(CORE, core),
DECLARE_LIMIT(CPU, cpu),
DECLARE_LIMIT(DATA, data),
DECLARE_LIMIT(FSIZE, fsize),