From 2e41034068bfa59dd4121c9c5ee2326c96c4bc33 Mon Sep 17 00:00:00 2001 From: walter <walter> Date: Wed, 7 May 2008 21:17:11 +0000 Subject: [PATCH] b=14091 i=he.huang i=adilger fix for user-tcpip.c build errors on Cray catamount builds --- lnet/libcfs/user-tcpip.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lnet/libcfs/user-tcpip.c b/lnet/libcfs/user-tcpip.c index a76edb3fb5..a7b51e93b0 100644 --- a/lnet/libcfs/user-tcpip.c +++ b/lnet/libcfs/user-tcpip.c @@ -20,7 +20,7 @@ */ #ifndef __KERNEL__ - +#ifndef REDSTORM #include <sys/socket.h> #include <netinet/tcp.h> #include <sys/ioctl.h> @@ -600,4 +600,5 @@ int libcfs_sock_readv(int fd, const struct iovec *vector, int count) return rc; } +#endif /* !defined(REDSTORM) */ #endif /* !__KERNEL__ */ -- GitLab