Whamcloud - gitweb
Branch b1_4
authoradilger <adilger>
Fri, 10 Jun 2005 18:03:36 +0000 (18:03 +0000)
committeradilger <adilger>
Fri, 10 Jun 2005 18:03:36 +0000 (18:03 +0000)
#include <linux/version.h> for 2.4.19 RPM builds.

lustre/include/lustre/lustre_user.h

index bd94f59..c56cb2d 100644 (file)
@@ -135,6 +135,7 @@ struct if_quotacheck {
 #ifndef __KERNEL__
 #define NEED_QUOTA_DEFS
 #else
+# include <linux/version.h>
 # if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,21)
 #  define NEED_QUOTA_DEFS
 # endif