Add winsock init functions to bench.c so it can run on win32.

svn:r579
This commit is contained in:
Nick Mathewson 2007-12-06 19:36:49 +00:00
parent 9cc67e5f78
commit fd418645ff

View File

@ -128,6 +128,10 @@ main (int argc, char **argv)
struct timeval *tv;
int *cp;
#ifdef WIN32
WSADATA WSAData;
WSAStartup(0x101, &WSAData);
#endif
num_pipes = 100;
num_active = 1;
num_writes = num_pipes;