fchdir: Add missing declaration on OSF/1 5.1.
authorBruno Haible <bruno@clisp.org>
Sun, 19 Dec 2010 13:33:14 +0000 (14:33 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 19 Dec 2010 13:33:14 +0000 (14:33 +0100)
commit2fac6f35e670d13c745e152d860fc0c2cadf14ca
tree0827283f83cb2514d9aa9e31be45ca3c88e3e352
parentcc0adb39265accc2753be3e1aa55087d19f71286
fchdir: Add missing declaration on OSF/1 5.1.

* lib/unistd.in.h (fchdir): Provide declaration if systems lacks it.
* m4/fchdir.m4 (gl_FUNC_FCHDIR): Check whether fchdir is declared.
* m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize HAVE_DECL_FCHDIR.
* modules/unistd (Makefile.am): Substitute HAVE_DECL_FCHDIR.
* doc/posix-functions/fchdir.texi: Mention the OSF/1 5.1 problem.
ChangeLog
doc/posix-functions/fchdir.texi
lib/unistd.in.h
m4/fchdir.m4
m4/unistd_h.m4
modules/unistd