commit | e43778880e622bd4a8ed6fa5a21a35f84d43db09 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Aug 12 10:38:35 2016 -0700 |
committer | Elliott Hughes <enh@google.com> | Fri Aug 12 10:38:35 2016 -0700 |
tree | 40b98e92bfad370be69155107473c98c13bd1f32 | |
parent | 166f875eabdd2b7c508fc4ed1789a0d37fb1bdce [diff] [blame] |
POSIX says IPPORT_RESERVED is in <netdb.h>. In <netdb.h>: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netdb.h.html Not in <netinet/in.h>: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html Change-Id: Ie34cdb80eeb1443cf292944f3c68d8383aee2295
diff --git a/libc/bionic/netinet_in.cpp b/libc/bionic/netinet_in.cpp index dfa5d8d..2a7090a 100644 --- a/libc/bionic/netinet_in.cpp +++ b/libc/bionic/netinet_in.cpp
@@ -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>