]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
writev decl.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 29 Mar 2007 13:05:47 +0000 (13:05 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 29 Mar 2007 13:05:47 +0000 (13:05 +0000)
git-svn-id: file:///svn/unbound/trunk@210 be551aaa-1e26-0410-a405-d3ace91eadb9

configure.ac
doc/Changelog

index a85a159951957226d6908d2f1c68e7a2874e5a3b..95851e640344d3adea255b799b1da28abeda894e 100644 (file)
@@ -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 <sys/socket.h>
 #endif
 
+#ifdef HAVE_SYS_UIO_H
+#include <sys/uio.h>
+#endif
+
 #ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
 #endif
index a964327bb0601e70a9465461d45c4978ac4fcce7..76fb10a5b3b4fd6ca227ffdbad5bb4f2e4869a72 100644 (file)
@@ -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.