]> granicus.if.org Git - curl/commit
socketpair: fix include and define for older TCP header systems
authorHarry Sintonen <sintonen@iki.fi>
Thu, 10 Oct 2019 09:52:51 +0000 (12:52 +0300)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 10 Oct 2019 21:20:15 +0000 (23:20 +0200)
commit0dc14b83818f6166d60e939ce2cc1c4806d39c4a
tree4af162e02528727456e14ced5c854fd3538295fc
parent622cf7db6bd2d943e67660020b3984e6068f1084
socketpair: fix include and define for older TCP header systems

fixed build for systems that need netinet/in.h for IPPROTO_TCP and are
missing INADDR_LOOPBACK

Closes #4480
lib/socketpair.c