diff --git a/source/clientserver/udaDefines.h b/source/clientserver/udaDefines.h index da26a1c2..7d3b40bd 100755 --- a/source/clientserver/udaDefines.h +++ b/source/clientserver/udaDefines.h @@ -128,7 +128,16 @@ extern "C" { #if defined(_WIN32) # if !defined(__MINGW32__) -#include +struct timeval { + long tv_sec; + long tv_usec; +}; + +struct timezone { + int tz_minuteswest; + int tz_dsttime; +}; + LIBRARY_API int gettimeofday(struct timeval* tp, struct timezone* tzp); # endif #endif