compat: there's no <sys/time.h> on MSVC
compat: there's no <sys/time.h> on MSVC

...but we won't be really using gettimeofday() there because
pthread_mutex_timedlock is provided by the pthread compatibility library
that we depend on.

CESNET/libyang,CESNET/libyang