compat: add missing #include <sys/resource.h>