fix OpenBSD build error.
This commit is contained in:
parent
52261d88fd
commit
8c0e2434f5
3
NEWS
3
NEWS
|
@ -1,8 +1,9 @@
|
|||
NEWS file for Transmission <http://transmission.m0k.org/>
|
||||
|
||||
0.91 (2007/xx/xx)
|
||||
- libtransmission:
|
||||
- libtransmission (all platforms):
|
||||
+ Fix 0.90 socket connection leak.
|
||||
+ Fix 0.90 OpenBSD build error.
|
||||
- OS X:
|
||||
+ Add Dutch localization, Re-add Russian localization, fix Korean localization
|
||||
- gtk:
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
#include <inttypes.h> /* uint8_t */
|
||||
#include <string.h> /* memcpy */
|
||||
#include <stdarg.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/in.h> /* struct in_addr */
|
||||
|
||||
|
||||
#include <openssl/bn.h>
|
||||
#include <openssl/dh.h>
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <arpa/inet.h> /* inet_addr */
|
||||
|
||||
#include "transmission.h"
|
||||
#include "natpmp.h"
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <arpa/inet.h> /* inet_addr */
|
||||
|
||||
#ifndef WIN32
|
||||
#include <netdb.h>
|
||||
#include <fcntl.h>
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#else
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
typedef in_port_t tr_port_t;
|
||||
#endif
|
||||
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/in.h> /* struct in_addr */
|
||||
#include <arpa/inet.h> /* inet_ntoa */
|
||||
#include <event.h>
|
||||
#include "transmission.h"
|
||||
#include "crypto.h"
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#define TR_PEER_MGR_PRIVATE_H
|
||||
|
||||
#include <inttypes.h> /* uint16_t */
|
||||
#include <arpa/inet.h> /* struct in_addr */
|
||||
#include <netinet/in.h> /* struct in_addr */
|
||||
#include "publish.h" /* tr_publisher_tag */
|
||||
|
||||
struct tr_bitfield;
|
||||
|
|
|
@ -15,9 +15,11 @@
|
|||
#include <stdlib.h> /* qsort */
|
||||
#include <stdio.h> /* printf */
|
||||
#include <limits.h> /* INT_MAX */
|
||||
#include <libgen.h> /* basename */
|
||||
|
||||
#include <libgen.h> /* basename */
|
||||
#include <sys/types.h> /* event.h needs this */
|
||||
#include <arpa/inet.h> /* inet_ntoa */
|
||||
|
||||
#include <event.h>
|
||||
|
||||
#include "transmission.h"
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#define TR_PEER_MGR_H
|
||||
|
||||
#include <inttypes.h> /* uint16_t */
|
||||
#include <arpa/inet.h> /* struct in_addr */
|
||||
#include <netinet/in.h> /* struct in_addr */
|
||||
|
||||
struct in_addr;
|
||||
struct tr_handle;
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include <string.h>
|
||||
#include <libgen.h> /* basename */
|
||||
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/in.h> /* struct in_addr */
|
||||
|
||||
#include <sys/types.h> /* event.h needs this */
|
||||
#include <event.h>
|
||||
|
|
|
@ -647,6 +647,7 @@ tr_getTorrentsDirectory( void )
|
|||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/in.h> /* struct in_addr */
|
||||
#include <sys/sysctl.h>
|
||||
#include <net/route.h>
|
||||
|
||||
|
|
|
@ -31,6 +31,8 @@
|
|||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <arpa/inet.h> /* inet_addr */
|
||||
|
||||
#ifdef __BEOS__
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue