diff options
-rw-r--r-- | x11-toolkits/fltk/files/patch-src_filename_list.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/x11-toolkits/fltk/files/patch-src_filename_list.cxx b/x11-toolkits/fltk/files/patch-src_filename_list.cxx index 5490178a4357..3efbc8c66589 100644 --- a/x11-toolkits/fltk/files/patch-src_filename_list.cxx +++ b/x11-toolkits/fltk/files/patch-src_filename_list.cxx @@ -14,7 +14,7 @@ #ifndef HAVE_SCANDIR int n = scandir(d, list, 0, sort); -#elif defined(__hpux) || defined(__CYGWIN__) -+#elif defined(__hpux) || defined(__CYGWIN__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 900006 || (__FreeBSD_version >= 800501 && __FreeBSD_version < 900000))) ++#elif defined(__hpux) || defined(__CYGWIN__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 900006 || (__FreeBSD_version >= 800501 && __FreeBSD_version < 900000) || (__FreeBSD_version >= 730000))) // HP-UX, Cygwin define the comparison function like this: int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort); #elif defined(__osf__) |