diff --git a/lnet/libcfs/user-tcpip.c b/lnet/libcfs/user-tcpip.c index a76edb3fb57d79726ac54d0e1df294d9b3800b1e..a7b51e93b023fe97129f8e7975da0858a7a80175 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__ */