From: Wouter Wijngaards Date: Thu, 29 Mar 2007 13:05:47 +0000 (+0000) Subject: writev decl. X-Git-Tag: release-0.2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6849e915494b66d13518354623cfb861a2ed296c;p=thirdparty%2Funbound.git writev decl. git-svn-id: file:///svn/unbound/trunk@210 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/configure.ac b/configure.ac index a85a15995..95851e640 100644 --- a/configure.ac +++ b/configure.ac @@ -269,7 +269,7 @@ AC_PROG_LIBTOOL # Checks for header files. AC_HEADER_STDC -AC_CHECK_HEADERS([stdarg.h stdbool.h netinet/in.h sys/param.h sys/socket.h arpa/inet.h],,, [AC_INCLUDES_DEFAULT]) +AC_CHECK_HEADERS([stdarg.h stdbool.h netinet/in.h sys/param.h sys/socket.h sys/uio.h arpa/inet.h],,, [AC_INCLUDES_DEFAULT]) # check for types AC_CHECK_TYPE(int8_t, char) @@ -489,6 +489,10 @@ AH_BOTTOM([ #include #endif +#ifdef HAVE_SYS_UIO_H +#include +#endif + #ifdef HAVE_NETINET_IN_H #include #endif diff --git a/doc/Changelog b/doc/Changelog index a964327bb..76fb10a5b 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -4,6 +4,7 @@ - do not do useless byteswap on query id. Store reply flags in uint16 for easier access (and no repeated byteswapping). - reviewed code. + - configure detects and config.h includes sys/uio.h for writev decl. 28 March 2007: Wouter - new config option: num-queries-per-thread.