mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +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
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <arpa/inet.h> /* inet_addr */
|
||||
|
||||
#include "transmission.h"
|
||||
#include "natpmp.h"
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#else
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
typedef in_port_t tr_port_t;
|
||||
#endif
|
||||
|
||||
|
@ -54,10 +55,6 @@
|
|||
#define sockerrno errno
|
||||
#endif
|
||||
|
||||
#ifndef INADDR_NONE
|
||||
#define INADDR_NONE 0xffffffff
|
||||
#endif
|
||||
|
||||
struct in_addr;
|
||||
struct sockaddr_in;
|
||||
|
||||
|
|
|
@ -31,8 +31,6 @@
|
|||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <arpa/inet.h> /* inet_addr */
|
||||
|
||||
#ifdef __BEOS__
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue