* port-sockets.h [!_WIN32 && !HAVE_MACSOCK_H]: Include sys/uio.h if available,
to get struct iovec.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14548
dc483132-0cff-0310-8789-
dd5450dbe970
+2002-06-20 Ken Raeburn <raeburn@mit.edu>
+
+ * configure.in: Check for sys/uio.h.
+ * port-sockets.h [!_WIN32 && !HAVE_MACSOCK_H]: Include sys/uio.h
+ if available, to get struct iovec.
+
2002-06-18 Ken Raeburn <raeburn@mit.edu>
* port-sockets.h (sg_buf): New typedef name for OS-specific
AC_DEFINE(POSIX_TERMIOS,1,[Define if termios.h exists and tcsetattr exists]))])
dnl
KRB5_SIGTYPE
-AC_CHECK_HEADERS(stdlib.h string.h stddef.h unistd.h sys/types.h sys/file.h sys/param.h sys/stat.h sys/time.h netinet/in.h macsock.h xom.h)
+AC_CHECK_HEADERS(stdlib.h string.h stddef.h unistd.h sys/types.h sys/file.h sys/param.h sys/stat.h sys/time.h netinet/in.h macsock.h xom.h sys/uio.h)
AC_HEADER_STDARG
KRB5_AC_INET6
dnl
#include <sys/socket.h> /* For SOCK_*, AF_*, etc */
#include <sys/time.h> /* For struct timeval */
#include <net/if.h> /* For struct ifconf, for localaddr.c */
+#ifdef HAVE_SYS_UIO_H
+#include <sys/uio.h> /* For struct iovec, for sg_buf */
+#endif
/*
* Compatability with WinSock calls on MS-Windows...