[Coin-discuss] COIN on a Mac

ScottWelz at aol.com ScottWelz at aol.com
Sat Jan 4 20:55:56 EST 2003


Darwin uses gcc 3.1...here's how the chain goes:

- rusage is referenced by getrusage() declared in sys/resource.h
- struct rusage is defined in sys/resource.h also
- struct rusage contains fields of type struct timeval
- sys/time.h defines struct timeval

There aren't any includes in resource.h that get me to sys/time.h.

BCP requires an operating system specific file where, in a couple of cases, 
sys/time.h is added as an include (this include is added in the AIX version 
and the Linux version).   Is this a result of a related issue?

Thanks for the help in figuring this out.

Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20030104/0523a214/attachment.html>


More information about the Coin-discuss mailing list