aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-protocol3.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2022-08-18 16:17:13 +1200
committerThomas Munro <tmunro@postgresql.org>2022-08-18 16:31:11 +1200
commit2492fe49dcb534844d9eece97504b4caca1d81ae (patch)
tree532551cda583b5b2bb21e4ef9329574696440852 /src/interfaces/libpq/fe-protocol3.c
parentcce28f62680ca77f18762d58bc31f6b67c6ef692 (diff)
downloadpostgresql-2492fe49dcb534844d9eece97504b4caca1d81ae.tar.gz
postgresql-2492fe49dcb534844d9eece97504b4caca1d81ae.zip
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/interfaces/libpq/fe-protocol3.c')
-rw-r--r--src/interfaces/libpq/fe-protocol3.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-protocol3.c b/src/interfaces/libpq/fe-protocol3.c
index f267dfd33c5..bbfb55542df 100644
--- a/src/interfaces/libpq/fe-protocol3.c
+++ b/src/interfaces/libpq/fe-protocol3.c
@@ -21,10 +21,8 @@
#include "win32.h"
#else
#include <unistd.h>
-#ifdef HAVE_NETINET_TCP_H
#include <netinet/tcp.h>
#endif
-#endif
#include "libpq-fe.h"
#include "libpq-int.h"