Error: 'CLOCK_MONOTONIC' undeclared (first use in this function)

error: ‘CLOCK_MONOTONIC’ undeclared (first use in this function) while porting FreeRTOS procedure using Freedom studio IDE.

error: ‘CLOCKS_PER_SEC’ undeclared (first use in this function)

Included the path of time.h. How can I resolve this error?

It looks like you may be missing some defines or header files. Can you share more information such as source code and steps to reproduce the issue?

Sir I was following the procedure for porting as given in this link

while building I was getting errors. Each time including path I get new errors. In time.h the declaration supposed to be there. But the given header does not contain this declaration.