summaryrefslogtreecommitdiff
path: root/src/include/libpq
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/include/libpq
parentcce28f62680ca77f18762d58bc31f6b67c6ef692 (diff)
downloadpostgresql-2492fe49dcb534844d9eece97504b4caca1d81ae.tar.gz
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/include/libpq')
-rw-r--r--src/include/libpq/libpq-be.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/include/libpq/libpq-be.h b/src/include/libpq/libpq-be.h
index fa2fd03009..32d3a4b085 100644
--- a/src/include/libpq/libpq-be.h
+++ b/src/include/libpq/libpq-be.h
@@ -23,9 +23,7 @@
#include <openssl/ssl.h>
#include <openssl/err.h>
#endif
-#ifdef HAVE_NETINET_TCP_H
#include <netinet/tcp.h>
-#endif
#ifdef ENABLE_GSS
#if defined(HAVE_GSSAPI_H)