diff options
author | Russ Cox <rsc@swtch.com> | 2009-07-14 22:55:52 -0700 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2009-07-14 22:55:52 -0700 |
commit | e6c837d612cc884aa4fe68335c121c3dadddeebc (patch) | |
tree | 31c741d29c74726558268d17d8df1c3a3848646b /src/lib9 | |
parent | 76f90e51459082e3dd93f80e310635c6d37044e2 (diff) | |
parent | 76f90e51459082e3dd93f80e310635c6d37044e2 (diff) | |
download | plan9port-e6c837d612cc884aa4fe68335c121c3dadddeebc.tar.gz plan9port-e6c837d612cc884aa4fe68335c121c3dadddeebc.tar.bz2 plan9port-e6c837d612cc884aa4fe68335c121c3dadddeebc.zip |
merge
Diffstat (limited to 'src/lib9')
-rw-r--r-- | src/lib9/dirread.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib9/dirread.c b/src/lib9/dirread.c index 5485df0c..74dd1422 100644 --- a/src/lib9/dirread.c +++ b/src/lib9/dirread.c @@ -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 |