1 Index: fltk2-r6671/src/filename_list.cxx
2 ===================================================================
3 --- fltk2-r6671.orig/src/filename_list.cxx 2010-11-03 02:17:17.243001500 +0100
4 +++ fltk2-r6671/src/filename_list.cxx 2010-11-03 02:24:13.400999350 +0100
6 // This version is when we define our own scandir (WIN32 and perhaps
8 int n = scandir(d, list, 0, sort);
9 +#elif defined(__UCLIBC_MAJOR__) && \
10 + __UCLIBC_MAJOR__ >= 0 && __UCLIBC_MINOR__ >= 9 && __UCLIBC_SUBLEVEL__ >= 31
11 + int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort);
12 #elif defined(__linux) || defined (__FreeBSD__) || defined (__NetBSD__)
13 int n = scandir(d, list, 0, (int(*)(const void*,const void*))sort);
14 #elif defined(__hpux) || defined(__CYGWIN__)