Add missing import

Type clock_t is defined in sys/types.h in POSIX.
Compilation otherwise fails on FreeBSD.