FreeBSD compile errors
FreeBSD compile errors - fix typo
FreeBSD compile errors - fix typo #2
FreeBSD compile errors - add comments
FreeBSD compile errors - fix typo #3
FreeBSD compile errors - fix typecast
FreeBSD compile errors - fix timezone
Merge pull request #1826 from Hobby-Student/master

fix FreeBSD compile errors