I'm trying to set RLIMIT_NPROCS (in a program for school) and I need to #include <sys/resource.h>. When I try to compile, I get errors pointing to the .h file. I don't have the exact error text right now (but I can post it tonight) but the message relates to a timeval struct that is defined in this header file.
My code compiles under SuSE Linux but it won't compile under OS X Panther. Has anyone else run into issues with this header file?