Added sys/resource.h include.