summaryrefslogtreecommitdiff
path: root/src/common/ip.c
diff options
context:
space:
mode:
authorThomas Munro2022-08-18 04:17:13 +0000
committerThomas Munro2022-08-18 04:31:11 +0000
commit2492fe49dcb534844d9eece97504b4caca1d81ae (patch)
tree532551cda583b5b2bb21e4ef9329574696440852 /src/common/ip.c
parentcce28f62680ca77f18762d58bc31f6b67c6ef692 (diff)
Remove configure probe for netinet/tcp.h.
<netinet/tcp.h> is in SUSv3 and all targeted Unix systems have it. For Windows, we can provide a stub include file, to avoid some #ifdef noise. Discussion: https://postgr.es/m/CA+hUKGKErNfhmvb_H0UprEmp4LPzGN06yR2_0tYikjzB-2ECMw@mail.gmail.com
Diffstat (limited to 'src/common/ip.c')
-rw-r--r--src/common/ip.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/common/ip.c b/src/common/ip.c
index dd9193feb1b..0149d07ae7c 100644
--- a/src/common/ip.c
+++ b/src/common/ip.c
@@ -28,9 +28,7 @@
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
-#ifdef HAVE_NETINET_TCP_H
#include <netinet/tcp.h>
-#endif
#include <arpa/inet.h>
#include <sys/file.h>