diff --git a/src/afs/afs_bypasscache.c b/src/afs/afs_bypasscache.c index 945d9b8b2a..e4470243cf 100644 --- a/src/afs/afs_bypasscache.c +++ b/src/afs/afs_bypasscache.c @@ -557,7 +557,9 @@ afs_PrefetchNoCache(struct vcache *avc, struct nocache_read_request *bparms) { struct uio *auio; +#ifndef UKERNEL struct iovec *iovecp; +#endif struct vrequest *areq; afs_int32 code = 0; struct rx_connection *rxconn; @@ -577,7 +579,9 @@ afs_PrefetchNoCache(struct vcache *avc, auio = bparms->auio; areq = bparms->areq; +#ifndef UKERNEL iovecp = auio->uio_iov; +#endif tcallspec = (struct tlocal1 *) osi_Alloc(sizeof(struct tlocal1)); do {