Changeset 3552


Ignore:
Timestamp:
Oct 25, 2007, 1:59:46 PM (15 years ago)
Author:
charles
Message:

fix OpenBSD build error.

Location:
trunk
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEWS

    r3550 r3552  
    22
    330.91 (2007/xx/xx)
    4 - libtransmission:
     4- libtransmission (all platforms):
    55   + Fix 0.90 socket connection leak.
     6   + Fix 0.90 OpenBSD build error.
    67- OS X:
    78   + Add Dutch localization, Re-add Russian localization, fix Korean localization
  • trunk/libtransmission/crypto.c

    r3405 r3552  
    1515#include <string.h> /* memcpy */
    1616#include <stdarg.h>
    17 #include <arpa/inet.h>
     17#include <netinet/in.h> /* struct in_addr */
     18
    1819
    1920#include <openssl/bn.h>
  • trunk/libtransmission/natpmp.c

    r2619 r3552  
    3434
    3535#include <sys/types.h>
     36#include <arpa/inet.h> /* inet_addr */
    3637
    3738#include "transmission.h"
  • trunk/libtransmission/net.c

    r3335 r3552  
    3030#include <sys/types.h>
    3131
     32#include <arpa/inet.h> /* inet_addr */
     33
    3234#ifndef WIN32
    3335#include <netdb.h>
  • trunk/libtransmission/net.h

    r3105 r3552  
    3939    #include <sys/socket.h>
    4040    #include <netinet/in.h>
    41     #include <arpa/inet.h>
    4241    typedef in_port_t tr_port_t;
    4342#endif
  • trunk/libtransmission/peer-io.c

    r3501 r3552  
    1515#include <stdio.h>
    1616#include <unistd.h>
    17 #include <arpa/inet.h>
     17#include <netinet/in.h> /* struct in_addr */
     18#include <arpa/inet.h> /* inet_ntoa */
    1819#include <event.h>
    1920#include "transmission.h"
  • trunk/libtransmission/peer-mgr-private.h

    r3320 r3552  
    1515
    1616#include <inttypes.h> /* uint16_t */
    17 #include <arpa/inet.h> /* struct in_addr */
     17#include <netinet/in.h> /* struct in_addr */
    1818#include "publish.h" /* tr_publisher_tag */
    1919
  • trunk/libtransmission/peer-mgr.c

    r3550 r3552  
    1616#include <stdio.h> /* printf */
    1717#include <limits.h> /* INT_MAX */
     18
    1819#include <libgen.h> /* basename */
    19 
    2020#include <sys/types.h> /* event.h needs this */
     21#include <arpa/inet.h> /* inet_ntoa */
     22
    2123#include <event.h>
    2224
  • trunk/libtransmission/peer-mgr.h

    r3492 r3552  
    1515
    1616#include <inttypes.h> /* uint16_t */
    17 #include <arpa/inet.h> /* struct in_addr */
     17#include <netinet/in.h> /* struct in_addr */
    1818
    1919struct in_addr;
  • trunk/libtransmission/peer-msgs.c

    r3501 r3552  
    1919#include <libgen.h> /* basename */
    2020
    21 #include <arpa/inet.h>
     21#include <netinet/in.h> /* struct in_addr */
    2222
    2323#include <sys/types.h> /* event.h needs this */
  • trunk/libtransmission/platform.c

    r3254 r3552  
    648648#include <netinet/in.h>
    649649#include <arpa/inet.h>
     650#include <netinet/in.h> /* struct in_addr */
    650651#include <sys/sysctl.h>
    651652#include <net/route.h>
  • trunk/libtransmission/upnp.c

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