checked dependencies on time.h and sys/time.h