Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
View | Details | Raw Unified | Return to bug 275802
Collapse All | Expand All

(-)a/src/filename_list.cxx (-1 / +1 lines)
Lines 63-69 int fltk::filename_list(const char *d, dirent ***list, Link Here
63
  // some Unix systems):
63
  // some Unix systems):
64
  int n = scandir(d, list, 0, sort);
64
  int n = scandir(d, list, 0, sort);
65
#elif defined(__linux) || defined (__FreeBSD__) || defined (__NetBSD__)
65
#elif defined(__linux) || defined (__FreeBSD__) || defined (__NetBSD__)
66
  int n = scandir(d, list, 0, (int(*)(const void*,const void*))sort);
66
  int n = scandir(d, list, 0, (int(*)(const dirent64**,const dirent64**))sort);
67
#elif defined(__hpux) || defined(__CYGWIN__)
67
#elif defined(__hpux) || defined(__CYGWIN__)
68
  // HP-UX, Cygwin define the comparison function like this:
68
  // HP-UX, Cygwin define the comparison function like this:
69
  int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort);
69
  int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort);

Return to bug 275802