mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 04:18:39 +00:00
maybe fix portmapping
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user