Whamcloud - gitweb
* Landed portals:b_port_step as follows...
[fs/lustre-release.git] / lnet / include / lnet / linux / lib-types.h
diff --git a/lnet/include/lnet/linux/lib-types.h b/lnet/include/lnet/linux/lib-types.h
new file mode 100644 (file)
index 0000000..f896b4b
--- /dev/null
@@ -0,0 +1,20 @@
+/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
+ * vim:expandtab:shiftwidth=8:tabstop=8:
+ */
+#ifndef __PORTALS_LINUX_LIB_TYPES_H__
+#define __PORTALS_LINUX_LIB_TYPES_H__
+
+#ifndef __PORTALS_LIB_TYPES_H__
+#error Do not #include this file directly. #include <portals/lib-types.h> instead
+#endif
+
+#ifdef __KERNEL__
+# include <linux/uio.h>
+# include <linux/smp_lock.h>
+# include <linux/types.h>
+#else
+# define PTL_USE_LIB_FREELIST
+# include <sys/types.h>
+#endif
+
+#endif