stdio_ext.h needs to include stdio.h, at least to get FILE...
[musl] / src / dirent / alphasort.c
1 #include <string.h>
2 #include <dirent.h>
3 #include "libc.h"
4
5 int alphasort(const struct dirent **a, const struct dirent **b)
6 {
7         return strcoll((*a)->d_name, (*b)->d_name);
8 }
9
10 LFS64(alphasort);