From: Amos Jeffries Date: Thu, 8 Jul 2010 06:28:49 +0000 (-0600) Subject: SMP: Use sys/uio.h for struct iovec X-Git-Tag: SQUID_3_2_0_1~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9614899ce8763ef3a60a9a4bfe4f7e219b8ed8e7;p=thirdparty%2Fsquid.git SMP: Use sys/uio.h for struct iovec --- diff --git a/configure.in b/configure.in index 788ddcce73..ae8e885284 100644 --- a/configure.in +++ b/configure.in @@ -2239,6 +2239,7 @@ AC_CHECK_HEADERS( \ sys/syscall.h \ sys/time.h \ sys/types.h \ + sys/uio.h \ sys/un.h \ sys/vfs.h \ sys/wait.h \ diff --git a/src/ipc/TypedMsgHdr.h b/src/ipc/TypedMsgHdr.h index 513cd89127..79b60ab5e8 100644 --- a/src/ipc/TypedMsgHdr.h +++ b/src/ipc/TypedMsgHdr.h @@ -9,8 +9,13 @@ #define SQUID_IPC_TYPED_MSG_HDR_H #include "config.h" -#include + +#if HAVE_SYS_SOCKET_H #include +#endif +#if HAVE_SYS_UIO_H +#include +#endif #if HAVE_SYS_UN_H #include #endif