From: Jarkko Hietaniemi Date: Thu, 21 Jun 2001 22:41:11 +0000 (+0000) Subject: The fchdir() proto is supposed to live in . X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c70498c117875832199c38c377c90989d6837b1a;p=p5sagit%2Fp5-mst-13.2.git The fchdir() proto is supposed to live in . p4raw-id: //depot/perl@10805 --- diff --git a/ext/Cwd/Cwd.xs b/ext/Cwd/Cwd.xs index ba65a5f..82b89ac 100644 --- a/ext/Cwd/Cwd.xs +++ b/ext/Cwd/Cwd.xs @@ -2,6 +2,10 @@ #include "perl.h" #include "XSUB.h" +#ifdef I_UNISTD +# include +#endif + /* The realpath() implementation from OpenBSD 2.9 (realpath.c 1.4) * Renamed here to bsd_realpath() to avoid library conflicts. * --jhi 2000-06-20 */