Whamcloud - gitweb
LU-6763 lnet: test for sk_sleep presence in compact-2.6.h
[fs/lustre-release.git] / lnet / lnet / acceptor.c
index 3585d20..f8f2699 100644 (file)
  */
 
 #define DEBUG_SUBSYSTEM S_LNET
+
+#ifdef HAVE_COMPAT_RDMA
+#include <linux/compat-2.6.h>
+#endif
 #include <linux/completion.h>
+#include <net/sock.h>
 #include <lnet/lib-lnet.h>
 
 static int   accept_port    = 988;