Hello Everyone,
I'm trying to use sem_timedwait in a user application - I've inlcuded semaphore.h [which defines __need_timespec, and includes time,h]. I'm also pointing to the correct include files that are part of the SDK release. I've based my code on this example - http://linux.die.net/man/3/sem_timedwait
However, when I cross compile the code, it tells me that CLOCK_REALTIME as undefined, and timespec tv_sec cannot be resolved. Any clue as to what I need to include in order to get the code working?
Thanks a lot in advance.
Regards
Santhosh