dirfd doesn't exist in some platforms.
authorJeremy Allison <jra@samba.org>
Sat, 26 Feb 2011 01:25:36 +0000 (17:25 -0800)
committerJeremy Allison <jra@samba.org>
Sat, 26 Feb 2011 03:19:55 +0000 (04:19 +0100)
commitc8a242d9fcb16df41a36b67ce2a8d43a3853b103
tree08eef2215c559b4ad876e57a6649056020266e85
parentebb2fb7efb1beea63720d3753685bb2eab5f19ee
dirfd doesn't exist in some platforms.

Hack that should get the buildfarm back to green.
Ensure dirfd() needs to be defined before we properly return fdopendir.
This will do until we get a proper dirfd() defined in libreplace.

From http://www.gnu.org/software/hello/manual/gnulib/dirfd.html

This function is missing on some platforms: AIX 7.1, HP-UX 11, OSF/1 5.1, Solaris 10, mingw.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Feb 26 04:19:55 CET 2011 on sn-devel-104
source3/lib/system.c
source3/smbd/dir.c