From: walter Date: Wed, 7 May 2008 21:17:11 +0000 (+0000) Subject: b=14091 X-Git-Tag: v1_9_50~531 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=2e41034068bfa59dd4121c9c5ee2326c96c4bc33;p=fs%2Flustre-release.git b=14091 i=he.huang i=adilger fix for user-tcpip.c build errors on Cray catamount builds --- diff --git a/lnet/libcfs/user-tcpip.c b/lnet/libcfs/user-tcpip.c index a76edb3..a7b51e9 100644 --- a/lnet/libcfs/user-tcpip.c +++ b/lnet/libcfs/user-tcpip.c @@ -20,7 +20,7 @@ */ #ifndef __KERNEL__ - +#ifndef REDSTORM #include #include #include @@ -600,4 +600,5 @@ int libcfs_sock_readv(int fd, const struct iovec *vector, int count) return rc; } +#endif /* !defined(REDSTORM) */ #endif /* !__KERNEL__ */