]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Portability: detect struct iovec better on OpenBSD
authorFrancesco Chemolli <kinkie@squid-cache.org>
Sun, 23 Mar 2014 04:57:40 +0000 (22:57 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 23 Mar 2014 04:57:40 +0000 (22:57 -0600)
configure.ac

index 1ddc25a9e3c5101cfa83dae8317a087e9a0103ee..6ab6ce2cd669a6115d3972124991513395dfcf45 100644 (file)
@@ -3209,6 +3209,9 @@ AC_CHECK_TYPE(struct iovec,AC_DEFINE(HAVE_IOVEC,1,[The system provides struct io
   #if HAVE_WINSOCK2_H
   #include <winsock2.h>
   #endif
+  #if HAVE_SYS_UIO_H
+  #include <sys/uio.h>
+  #endif
 ])
 
 AC_CHECK_TYPE(struct msghdr,AC_DEFINE(HAVE_MSGHDR,1,[The system provides struct msghdr]),,[