Merge "POSIX says IPPORT_RESERVED is in <netdb.h>."
This commit is contained in:
commit
a1858a7f59
3 changed files with 3 additions and 2 deletions
|
@ -29,6 +29,7 @@
|
|||
#include <netinet/in.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <netdb.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -192,6 +192,8 @@ struct addrinfo {
|
|||
*/
|
||||
#define SCOPE_DELIMITER '%'
|
||||
|
||||
#define IPPORT_RESERVED 1024
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
/* BIONIC-BEGIN */
|
||||
|
|
|
@ -40,8 +40,6 @@
|
|||
|
||||
__BEGIN_DECLS
|
||||
|
||||
#define IPPORT_RESERVED 1024
|
||||
|
||||
#define INET_ADDRSTRLEN 16
|
||||
|
||||
typedef uint16_t in_port_t;
|
||||
|
|
Loading…
Reference in a new issue