diff --git a/include/compat/time.h b/include/compat/time.h index d43dfcb..117a441 100644 --- a/include/compat/time.h +++ b/include/compat/time.h @@ -30,10 +30,12 @@ time_t timegm(struct tm *tm); #define CLOCK_REALTIME 0 #endif +#ifndef _WIN32 #ifndef HAVE_CLOCK_GETTIME int clock_gettime(clockid_t clock_id, struct timespec *tp); #endif +#endif #ifndef timespecsub #define timespecsub(tsp, usp, vsp) \