I am asI said in a previous post trying to compile my code in c99 or in the c99 standard andI got the following errors. (I am attaching time.h) it was included in each function that hadgenerated an error.
clock_gettime declared implicitly and CLOCK_REALTIME undefined.
Ialso had in an include file:
typedef struct timespec TIME_SPEC;
and TIME_SPEC now1, now2;
ineach case I got the rror
"incomplete type is not allowed",
referring to now1,now2,and timeout.
I know this is again a c99 vs. earlier version of c issue and I would like to solve it.
Any help appreciated and thanks in advance.