This commit is contained in:
Russ Cox 2009-07-14 22:55:52 -07:00
commit e6c837d612
9 changed files with 31 additions and 5 deletions

View file

@ -31,6 +31,12 @@ mygetdents(int fd, struct dirent *buf, int n)
{
return getdents(fd, (void*)buf, n);
}
#elif defined(__AIX__)
static int
mygetdents(int fd, struct dirent *buf, int n)
{
return getdirent(fd, (void*)buf, n);
}
#endif
static int