Author: tridge Date: 2005-07-25 04:39:20 +0000 (Mon, 25 Jul 2005) New Revision: 8750
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8750 Log: drat, on some systems dirfd() is a macro Modified: branches/SAMBA_4_0/source/lib/replace/repdir/repdir.c Changeset: Modified: branches/SAMBA_4_0/source/lib/replace/repdir/repdir.c =================================================================== --- branches/SAMBA_4_0/source/lib/replace/repdir/repdir.c 2005-07-25 04:34:14 UTC (rev 8749) +++ branches/SAMBA_4_0/source/lib/replace/repdir/repdir.c 2005-07-25 04:39:20 UTC (rev 8750) @@ -141,8 +141,11 @@ return 0; } +#ifndef dirfd +/* darn, this is a macro on some systems. */ int dirfd(DIR *dir) { struct dir_buf *d = (struct dir_buf *)dir; return d->fd; } +#endif