The stdio.h file has some lines inside that don't belong in that file. If you want, you can remove all lines with a "clib" and also the corresponding function prototypes. That will fix the error.

In C you need no malloc or datasets for a single struct. Just define it.

T6 t ;
t.time = ttime;

malloc or datasets are used when you need large arrays of structs.