more netbsd support.

This commit is contained in:
rsc 2005-03-28 19:37:33 +00:00
parent 5ba33c04da
commit 8e4ae643c3
5 changed files with 12 additions and 1 deletions

View file

@ -18,7 +18,7 @@ mygetdents(int fd, struct dirent *buf, int n)
nn = getdirentries(fd, (void*)buf, n, &off);
return nn;
}
#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__)
#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
static int
mygetdents(int fd, struct dirent *buf, int n)
{