Whamcloud - gitweb
b=14091
authorwalter <walter>
Wed, 7 May 2008 21:17:11 +0000 (21:17 +0000)
committerwalter <walter>
Wed, 7 May 2008 21:17:11 +0000 (21:17 +0000)
i=he.huang
i=adilger

fix for user-tcpip.c build errors on Cray catamount builds

lnet/libcfs/user-tcpip.c

index a76edb3..a7b51e9 100644 (file)
@@ -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__ */