Commit b5445359 by Andreas Tobler

Include netinet/in.h in include/experimental/internet

    2019-09-30  Andreas Tobler  <andreast@gcc.gnu.org>

	* include/experimental/internet: Include netinet/in.h if we have
	_GLIBCXX_HAVE_NETINET_IN_H defined.

From-SVN: r276374
parent 4aec2991
2019-09-30 Andreas Tobler <andreast@gcc.gnu.org> 2019-09-30 Andreas Tobler <andreast@gcc.gnu.org>
* include/experimental/internet: Include netinet/in.h if we have
_GLIBCXX_HAVE_NETINET_IN_H defined.
* testsuite/ext/special_functions/airy_ai/check_nan.cc: Ignore the * testsuite/ext/special_functions/airy_ai/check_nan.cc: Ignore the
FreeBSD warning about lower advertised precision of tgammal. FreeBSD warning about lower advertised precision of tgammal.
* testsuite/ext/special_functions/airy_bi/check_nan.cc: Likewise. * testsuite/ext/special_functions/airy_bi/check_nan.cc: Likewise.
......
...@@ -51,6 +51,9 @@ ...@@ -51,6 +51,9 @@
#ifdef _GLIBCXX_HAVE_ARPA_INET_H #ifdef _GLIBCXX_HAVE_ARPA_INET_H
# include <arpa/inet.h> // inet_ntop # include <arpa/inet.h> // inet_ntop
#endif #endif
#ifdef _GLIBCXX_HAVE_NETINET_IN_H
# include <netinet/in.h> // IPPROTO_IP
#endif
#ifdef _GLIBCXX_HAVE_NETINET_TCP_H #ifdef _GLIBCXX_HAVE_NETINET_TCP_H
# include <netinet/tcp.h> // TCP_NODELAY # include <netinet/tcp.h> // TCP_NODELAY
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment