From 2984a606d4aa9cf8c25e30d539f54b2db6ccd295 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 10 Feb 1997 16:11:41 +0000 Subject: [PATCH] * configure.in: Check for sys/uio.h * svc_udp.c: Include sys/uio.h is available for struct iovec. Needed for Irix 5.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9836 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/rpc/ChangeLog | 6 ++++++ src/lib/rpc/configure.in | 1 + src/lib/rpc/svc_udp.c | 3 +++ 3 files changed, 10 insertions(+) diff --git a/src/lib/rpc/ChangeLog b/src/lib/rpc/ChangeLog index 6aea5fe9a..ead4fc6fa 100644 --- a/src/lib/rpc/ChangeLog +++ b/src/lib/rpc/ChangeLog @@ -1,3 +1,9 @@ +Mon Feb 10 11:10:02 1997 Ezra Peisach + + * configure.in: Check for sys/uio.h. + + * svc_udp.c: Include sys/uio.h is available for struct iovec. + Mon Feb 10 00:04:36 1997 Tom Yu * svc_udp.c (svcudp_recv): Avoid coredumps under Solaris (and diff --git a/src/lib/rpc/configure.in b/src/lib/rpc/configure.in index cc8a1b1e8..87130bf74 100644 --- a/src/lib/rpc/configure.in +++ b/src/lib/rpc/configure.in @@ -6,6 +6,7 @@ AC_PROG_ARCHIVE AC_PROG_ARCHIVE_ADD AC_PROG_RANLIB AC_PROG_INSTALL +AC_CHECK_HEADERS(sys/uio.h) dnl Arrange for types.hin to include stdlib.h AC_CHECK_HEADER(stdlib.h, [ STDLIB_INCLUDE="#include "], diff --git a/src/lib/rpc/svc_udp.c b/src/lib/rpc/svc_udp.c index 55b591092..6c507d8a9 100644 --- a/src/lib/rpc/svc_udp.c +++ b/src/lib/rpc/svc_udp.c @@ -43,6 +43,9 @@ static char sccsid[] = "@(#)svc_udp.c 1.24 87/08/11 Copyr 1984 Sun Micro"; #include #include #include +#ifdef HAVE_SYS_UIO_H +#include +#endif #define rpc_buffer(xprt) ((xprt)->xp_p1) -- 2.26.2