Hello! One needs to #include <sys/resource.h> to use "struct rusage" and "struct rlimit" on NetBSD.
I don't know the code style currently thus I'm sending patches against slurm-2.4.0-0.pre2 as I prepared them for pkgsrc.
patch-src_common_jobacct__common.c
Description: Binary data
binRb5YZ5PYjT.bin
Description: Binary data
patch-src_salloc_salloc.c
Description: Binary data
patch-src_sbatch_sbatch.c
Description: Binary data
-- HE CE3OH...