summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-02-25 18:10:09 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2017-02-25 18:10:09 -0500
commit2bd7f85796ec373ecae61dd480437b3e668ec883 (patch)
treef4f137a5e74b3e0583178fd4078d2f94427fe48b /src/backend
parent9e3755ecb2d058f7d123dd35a2e1784006190962 (diff)
downloadpostgresql-2bd7f85796ec373ecae61dd480437b3e668ec883.tar.gz
Remove some configure header-file checks that we weren't really using.
We had some AC_CHECK_HEADER tests that were really wastes of cycles, because the code proceeded to #include those headers unconditionally anyway, in all or a large majority of cases. The lack of complaints shows that those headers are available on every platform of interest, so we might as well let configure run a bit faster by not probing those headers at all. I suspect that some of the tests I left alone are equally useless, but since all the existing #includes of the remaining headers are properly guarded, I didn't touch them.
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/libpq/ifaddr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/backend/libpq/ifaddr.c b/src/backend/libpq/ifaddr.c
index f81003f7c8..10643978c7 100644
--- a/src/backend/libpq/ifaddr.c
+++ b/src/backend/libpq/ifaddr.c
@@ -322,9 +322,7 @@ pg_foreach_ifaddr(PgIfAddrCallback callback, void *cb_data)
}
#else /* !HAVE_GETIFADDRS && !WIN32 */
-#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
-#endif
#ifdef HAVE_NET_IF_H
#include <net/if.h>