Port to GNU/kFreeBSD - FreeBSD kernel + GNU libc,
authorJim Meyering <meyering@redhat.com>
Fri, 14 Dec 2007 18:46:26 +0000 (19:46 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 17 Dec 2007 13:18:15 +0000 (14:18 +0100)
commitfecc3363511ec92cdb862a17d1c62413cb2a04af
tree08bac9acd1921c827df18e24de2a0abece11c90a
parented9767560b43d3970d32743525727f4e66473ad9
Port to GNU/kFreeBSD - FreeBSD kernel + GNU libc,

which has no openat syscall, yet <fcntl.h> does define AT_FDCWD.
* lib/getcwd.c: Undef AT_FDCWD if there is no openat function.
* modules/getcwd (Depends-on): Add openat.
Reported by Petr Salinger.
ChangeLog
lib/getcwd.c
modules/getcwd