summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 37418a85df..19eaedfba3 100755
--- a/configure
+++ b/configure
@@ -6988,7 +6988,8 @@ if test "$_inet6" = auto ; then
cat > $TMPC << EOF
#include <sys/types.h>
#include <sys/socket.h>
-int main(void) { socket(AF_INET6, SOCK_STREAM, AF_INET6); }
+#include <netinet/in.h>
+int main(void) { struct sockaddr_in6 six; socket(AF_INET6, SOCK_STREAM, AF_INET6); }
EOF
_inet6=no
if cc_check ; then