1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-03 21:12:05 +00:00

(trunk libT) fix INET6_ADDRSTRLEN build error on cygwin, reported by stdisease in #transmission

This commit is contained in:
Charles Kerr 2008-12-09 20:56:24 +00:00
parent a33b78fc53
commit 3a970c9fd9

View file

@ -49,9 +49,9 @@ extern "C" {
#define PRIu32 "lu"
#endif
#include <time.h> /* time_t */
#include <netinet/in.h> /* INET6_ADDRSTRLEN */
#define SHA_DIGEST_LENGTH 20
#define TR_INET6_ADDRSTRLEN 46
typedef uint32_t tr_file_index_t;
typedef uint32_t tr_piece_index_t;
@ -1061,7 +1061,7 @@ typedef struct tr_peer_stat
uint8_t from;
tr_port port;
char addr[INET6_ADDRSTRLEN];
char addr[TR_INET6_ADDRSTRLEN];
char client[80];
char flagStr[32];