add winsock if you've got it, regardless of whether you're msv

svn:r2573
This commit is contained in:
Roger Dingledine 2004-10-20 23:23:53 +00:00
parent 88cffc3c5f
commit c4c6ee7d61

View File

@ -24,6 +24,9 @@
#error "It seems your platform does not represent NULL as zero. We can't cope."
#endif
#ifdef HAVE_WINSOCK_H
#include <winsock.h>
#endif
#if _MSC_VER > 1300
#include <winsock2.h>
#include <ws2tcpip.h>