Typing man strptime it sais that this function needs to have declared _XOPEN_SOURCE and included time.h header. I did it. But, when I try to compile my code I g
man strptime
I've found that I needed to define __USE_XOPEN and also _GNU_SOURCE to get it to be happy.
__USE_XOPEN
_GNU_SOURCE