Fix name conflict between `tm' macro and `struct tm' from time.h
Merge pull request #2 from AMDmi3/freebsd

Fix name conflict between `tm' macro and `struct tm' from time.h