Changeset 3707


Ignore:
Timestamp:
Nov 5, 2007, 3:56:54 AM (15 years ago)
Author:
charles
Message:

maybe fix portmapping

Location:
trunk/libtransmission
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/natpmp.c

    r3552 r3707  
    3434
    3535#include <sys/types.h>
    36 #include <arpa/inet.h> /* inet_addr */
    3736
    3837#include "transmission.h"
  • trunk/libtransmission/net.h

    r3552 r3707  
    3939    #include <sys/socket.h>
    4040    #include <netinet/in.h>
     41    #include <arpa/inet.h>
    4142    typedef in_port_t tr_port_t;
    4243#endif
     
    5354    #include <errno.h>
    5455    #define sockerrno errno
    55 #endif
    56 
    57 #ifndef INADDR_NONE
    58 #define INADDR_NONE 0xffffffff
    5956#endif
    6057
  • trunk/libtransmission/upnp.c

    r3552 r3707  
    3131#include <string.h>
    3232#include <time.h>
    33 
    34 #include <arpa/inet.h> /* inet_addr */
    3533
    3634#ifdef __BEOS__
Note: See TracChangeset for help on using the changeset viewer.