Ignore:
Timestamp:
Jun 25, 2010, 8:36:10 PM (11 years ago)
Author:
charles
Message:

(trunk libT) #3311 "MingW build of Transmission" -- apply further win32 diffs from rb07

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.h

    r10816 r10858  
    125125const unsigned char *tr_globalIPv6( void );
    126126
     127#if defined( WIN32) && !defined(QT_DLL)
     128/* The QT exclusion is because something clashes whith the next include */
     129#include <ws2tcpip.h>           /* socklen_t */
     130
     131/** @brief Missing in Windows and Mingw */
     132const char *inet_ntop( int af, const void *src, char *dst, socklen_t cnt );
     133int inet_pton(int af, const char *src, void *dst);
     134#endif
    127135
    128136#endif /* _TR_NET_H_ */
Note: See TracChangeset for help on using the changeset viewer.