Hefty, Sean wrote: >> #ifndef _SYS_TIME_H_ >> #define _SYS_TIME_H_ >> >> #include <winsock2.h> > > Is winsock needed? > >> #include <windows.h> >> #include <winsock2.h> > > same Additionally, gtod.c is standalone - not requiring include of time.h. 'time.h' useful when gettimeofday() called from multiple src files.