aboutsummaryrefslogtreecommitdiff
path: root/src/include/port-sockets.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2002-06-20 19:43:41 +0000
committerKen Raeburn <raeburn@mit.edu>2002-06-20 19:43:41 +0000
commit2b1d8a508ff0564dcb8efde89224aba183282edc (patch)
tree980da3659b120b724a99d10c52358f039635cf10 /src/include/port-sockets.h
parent3a9ed34f678084460f57bb199f360d17b872f1f5 (diff)
downloadkrb5-2b1d8a508ff0564dcb8efde89224aba183282edc.zip
krb5-2b1d8a508ff0564dcb8efde89224aba183282edc.tar.gz
krb5-2b1d8a508ff0564dcb8efde89224aba183282edc.tar.bz2
* configure.in: Check for sys/uio.h.
* 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
Diffstat (limited to 'src/include/port-sockets.h')
-rw-r--r--src/include/port-sockets.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/port-sockets.h b/src/include/port-sockets.h
index 0681ddb..749140f 100644
--- a/src/include/port-sockets.h
+++ b/src/include/port-sockets.h
@@ -80,6 +80,9 @@ int win_socket_initialize();
#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...