projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
The fchdir() proto is supposed to live in <unistd.h>.
[p5sagit/p5-mst-13.2.git]
/
ext
/
Cwd
/
Cwd.xs
diff --git
a/ext/Cwd/Cwd.xs
b/ext/Cwd/Cwd.xs
index
ba65a5f
..
82b89ac
100644
(file)
--- a/
ext/Cwd/Cwd.xs
+++ b/
ext/Cwd/Cwd.xs
@@
-2,6
+2,10
@@
#include "perl.h"
#include "XSUB.h"
+#ifdef I_UNISTD
+# include <unistd.h>
+#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 */