timeval from <sys/resource.h> not defined

couzteau

Registered
i'm trying to compile a unix program that uses the type timeval from the sys/resource library.

the libraries that are supplied with MacOSX (10.1) seem to be missing that type. my compiler says the type is incomplete. when i grep for timeval i find a declaration in unistd.h (which is included in sys/resource.h) but it doesn't seem to be defined anywhere.

any ideas? i really would like to avoid removing the code that requires timeval.

thanx

couzteau
 
Back
Top