From 077bf2f2750076675ae7195c58bec9a62d62fd34 Mon Sep 17 00:00:00 2001 From: Thomas Munro Date: Sat, 13 Aug 2022 23:26:43 +1200 Subject: Remove configure probes for sys/un.h and struct sockaddr_un. is in SUSv3 and every targeted Unix has it. Some Windows tool chains may still lack the approximately equivalent header , so we already defined struct sockaddr_un ourselves on that OS for now. To harmonize things a bit, move our definition into a new header src/include/port/win32/sys/un.h. HAVE_UNIX_SOCKETS is now defined unconditionally. We migh remove that in a separate commit, pending discussion. Reviewed-by: Tom Lane Reviewed-by: Peter Eisentraut Reviewed-by: Andres Freund Discussion: https://postgr.es/m/CA%2BhUKG%2BL_3brvh%3D8e0BW_VfX9h7MtwgN%3DnFHP5o7X2oZucY9dg%40mail.gmail.com --- configure.ac | 2 -- 1 file changed, 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index c1b75e0f34..666ad7dbcb 100644 --- a/configure.ac +++ b/configure.ac @@ -1467,7 +1467,6 @@ AC_CHECK_HEADERS(m4_normalize([ sys/signalfd.h sys/sockio.h sys/ucred.h - sys/un.h termios.h ucred.h ])) @@ -1625,7 +1624,6 @@ PGAC_C_COMPUTED_GOTO PGAC_STRUCT_TIMEZONE PGAC_UNION_SEMUN AC_CHECK_TYPES(socklen_t, [], [], [#include ]) -PGAC_STRUCT_SOCKADDR_UN PGAC_STRUCT_SOCKADDR_STORAGE PGAC_STRUCT_SOCKADDR_STORAGE_MEMBERS PGAC_STRUCT_ADDRINFO -- cgit v1.2.1