Ciaran Cummins wrote:
I think it has to do with the timespec definition in sys/time_impl.h, but I can't get it to compile.Win SFU> sys/time_impl.h, called by time.h #if defined(_ALL_SOURCE) \ || ( defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 19309L) ) struct timespec { time_t tv_sec; /* seconds */ long tv_nsec; /* nanoseconds */ }; #endif // defined(_ALL_SOURCE) || ( .. && (_POSIX_C_SOURCE >= 19309L) ) Sol10> sys/time_impl.h called by time.h typedef struct timespec { /* definition per POSIX.4 */ time_t tv_sec; /* seconds */ long tv_nsec; /* and nanoseconds */ } timespec_t; taking it out of the if statement didn't work either. just my gut feeling....
Try compiling your source with ... -D_POSIX_C_SOURCE=19309 ... Michael -- Michael Schulte [EMAIL PROTECTED] OpenSolaris Kernel Development http://opensolaris.org/ _______________________________________________ perf-discuss mailing list [email protected]
