From: Matt Mackall Point XFS qsort at lib/sort in a way that makes it happy. Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton --- 25-akpm/fs/xfs/linux-2.6/xfs_linux.h | 3 +++ 1 files changed, 3 insertions(+) diff -puN fs/xfs/linux-2.6/xfs_linux.h~lib-sort-replace-qsort-in-xfs fs/xfs/linux-2.6/xfs_linux.h --- 25/fs/xfs/linux-2.6/xfs_linux.h~lib-sort-replace-qsort-in-xfs 2005-02-04 13:00:59.166563976 -0800 +++ 25-akpm/fs/xfs/linux-2.6/xfs_linux.h 2005-02-04 13:04:06.161136480 -0800 @@ -88,6 +88,7 @@ #include #include #include +#include #include #include @@ -368,4 +369,6 @@ static inline __uint64_t roundup_64(__ui return(x * y); } +#define qsort(a, n, s, cmp) sort(a, n, s, cmp, NULL) + #endif /* __XFS_LINUX__ */ _