mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
maybe fix portmapping
This commit is contained in:
parent
0f92cb7f30
commit
14d8abb323
3 changed files with 1 additions and 7 deletions
|
@ -33,7 +33,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <arpa/inet.h> /* inet_addr */
|
|
||||||
|
|
||||||
#include "transmission.h"
|
#include "transmission.h"
|
||||||
#include "natpmp.h"
|
#include "natpmp.h"
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
#else
|
#else
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
#include <arpa/inet.h>
|
||||||
typedef in_port_t tr_port_t;
|
typedef in_port_t tr_port_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -54,10 +55,6 @@
|
||||||
#define sockerrno errno
|
#define sockerrno errno
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef INADDR_NONE
|
|
||||||
#define INADDR_NONE 0xffffffff
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct in_addr;
|
struct in_addr;
|
||||||
struct sockaddr_in;
|
struct sockaddr_in;
|
||||||
|
|
||||||
|
|
|
@ -31,8 +31,6 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#include <arpa/inet.h> /* inet_addr */
|
|
||||||
|
|
||||||
#ifdef __BEOS__
|
#ifdef __BEOS__
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue