Whamcloud - gitweb
LU-10560 libcfs: handle rename to wait_queue_entry_t
[fs/lustre-release.git] / libcfs / include / libcfs / linux / linux-misc.h
index 351eaa7..57ebfea 100644 (file)
@@ -112,6 +112,10 @@ static inline bool gid_valid(kgid_t gid)
 
 int cfs_get_environ(const char *key, char *value, int *val_len);
 
+#ifndef HAVE_WAIT_QUEUE_ENTRY
+#define wait_queue_entry_t wait_queue_t
+#endif
+
 /*
  * For RHEL6 struct kernel_parm_ops doesn't exist. Also
  * the arguments for .set and .get take different