Changeset 7333


Ignore:
Timestamp:
Dec 9, 2008, 8:56:24 PM (12 years ago)
Author:
charles
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.h

    r7331 r7333  
    5050#endif
    5151#include <time.h> /* time_t */
    52 #include <netinet/in.h> /* INET6_ADDRSTRLEN */
    5352
    5453#define SHA_DIGEST_LENGTH 20
     54#define TR_INET6_ADDRSTRLEN 46
    5555
    5656typedef uint32_t tr_file_index_t;
     
    10621062    tr_port      port;
    10631063
    1064     char         addr[INET6_ADDRSTRLEN];
     1064    char         addr[TR_INET6_ADDRSTRLEN];
    10651065    char         client[80];
    10661066    char         flagStr[32];
Note: See TracChangeset for help on using the changeset viewer.