]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
OpenBSD portability fix: detect struct iovec better
authorFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 19 Mar 2014 08:03:13 +0000 (09:03 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 19 Mar 2014 08:03:13 +0000 (09:03 +0100)
configure.ac

index df081246891447744a4bb6266ee642469c6130fb..1a59debe790879ef6821cc1cbedfc2785388a517 100644 (file)
@@ -3156,6 +3156,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]),,[