This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28378S: timespec already defined in current scope

Part Number: TMS320F28378S


Hi, trying to include time.h or ti/posix/ccs/time.h and call mktime, but I get the following compile error:

#102 timespec has already been defined in the current scope

#102 itimerspec has already been defined in the current scope

How can I resolve this? Is there an example to follow?