diff --git a/WIN32-Prj/libevent.vcproj b/WIN32-Prj/libevent.vcproj index f69730cc..b2f6757e 100644 --- a/WIN32-Prj/libevent.vcproj +++ b/WIN32-Prj/libevent.vcproj @@ -245,28 +245,6 @@ /> - - - - - - - - @@ -350,10 +328,6 @@ RelativePath="..\min_heap.h" > - - diff --git a/evutil.c b/evutil.c index 4f0fa8e3..40da826c 100644 --- a/evutil.c +++ b/evutil.c @@ -49,6 +49,9 @@ #include #endif #include +#if defined WIN32 && !defined(HAVE_GETTIMEOFDAY_H) +#include +#endif #include "evutil.h" #include "log.h"