--- libev/import_libevent 2007/11/05 17:53:07 1.1 +++ libev/import_libevent 2007/11/06 16:09:37 1.2 @@ -14,6 +14,10 @@ print "#ifndef EV_STANDALONE\n$_#endif\n"; next; } + if (/#include "(unistd.h|sys/time.h)"/) { + print "#ifndef WIN32\n$_#endif\n"; + next; + } next if /#include "log.h"/; print;