This commit was generated by cvs2svn to compensate for changes in r655,
[linux-2.6.git] / fs / xfs / linux-2.6 / xfs_linux.h
index 42e2c26..71bb410 100644 (file)
@@ -88,6 +88,7 @@
 #include <linux/list.h>
 #include <linux/proc_fs.h>
 #include <linux/version.h>
+#include <linux/sort.h>
 
 #include <asm/page.h>
 #include <asm/div64.h>
@@ -368,4 +369,6 @@ static inline __uint64_t roundup_64(__uint64_t x, __uint32_t y)
        return(x * y);
 }
 
+#define qsort(a, n, s, cmp) sort(a, n, s, cmp, NULL)
+
 #endif /* __XFS_LINUX__ */