fix: should include sys/resource.h.