Ignore:
Timestamp:
Jun 22, 2010, 12:12:52 AM (11 years ago)
Author:
charles
Message:

(trunk) more win32 fixes from rb07 in #3311

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.h

    r10508 r10816  
    3232#ifdef WIN32
    3333 #include <inttypes.h>
    34  #include <winsock2.h>
    35  #include <WS2tcpip.h>
    36  typedef int socklen_t;
     34 #include <ws2tcpip.h>
    3735#else
    3836 #include <sys/types.h>
     
    4341
    4442#ifdef WIN32
     43 #define EADDRINUSE              WSAEADDRINUSE
    4544 #define ECONNREFUSED            WSAECONNREFUSED
    4645 #define ECONNRESET              WSAECONNRESET
Note: See TracChangeset for help on using the changeset viewer.