Merge "POSIX says IPPORT_RESERVED is in <netdb.h>."

This commit is contained in:
Treehugger Robot 2016-08-12 18:52:58 +00:00 committed by Gerrit Code Review
commit a1858a7f59
3 changed files with 3 additions and 2 deletions

View file

@ -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>

View file

@ -192,6 +192,8 @@ struct addrinfo {
*/
#define SCOPE_DELIMITER '%'
#define IPPORT_RESERVED 1024
__BEGIN_DECLS
/* BIONIC-BEGIN */

View file

@ -40,8 +40,6 @@
__BEGIN_DECLS
#define IPPORT_RESERVED 1024
#define INET_ADDRSTRLEN 16
typedef uint16_t in_port_t;