Windows put its timeval definitions in winsock2.h
See the pull request: https://github.com/torproject/tor/pull/1085
We'll need to backport this change to 0.2.9, assuming we used winthreads back then.
I'm going to assign this one to ahf, because he has a local windows build.