mirror of
https://github.com/transmission/transmission.git
synced 2025-12-27 05:38:40 +00:00
(trunk libT) #3311 "MingW build of Transmission" -- apply further win32 diffs from rb07
This commit is contained in:
@@ -124,5 +124,13 @@ void tr_netInit( void );
|
||||
|
||||
const unsigned char *tr_globalIPv6( void );
|
||||
|
||||
#if defined( WIN32) && !defined(QT_DLL)
|
||||
/* The QT exclusion is because something clashes whith the next include */
|
||||
#include <ws2tcpip.h> /* socklen_t */
|
||||
|
||||
/** @brief Missing in Windows and Mingw */
|
||||
const char *inet_ntop( int af, const void *src, char *dst, socklen_t cnt );
|
||||
int inet_pton(int af, const char *src, void *dst);
|
||||
#endif
|
||||
|
||||
#endif /* _TR_NET_H_ */
|
||||
|
||||
Reference in New Issue
Block a user