add gettimeofday function
Merge remote-tracking branch 'origin/dev' into dev

Conflicts:
	src/include/time.h