stdio: Work around compilation error due to renameat() on Solaris 10.
authorBruno Haible <bruno@clisp.org>
Wed, 27 Oct 2010 00:53:42 +0000 (02:53 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 27 Oct 2010 00:53:42 +0000 (02:53 +0200)
commit82a0a56381ed6a9cf78f3b662735391209ce6dee
tree253ad77bfec4afd093557ff834f208af780d23c2
parent6da7b8a1733c379d83744df595b123f2fc5606a7
stdio: Work around compilation error due to renameat() on Solaris 10.

* lib/stdio.in.h: Include <unistd.h> on Solaris.
* lib/renameat.c: Don't include <unistd.h> here.
* doc/posix-functions/renameat.texi: Mention the Solaris problem.
Reported by Paul Eggert and Eric Blake.
ChangeLog
doc/posix-functions/renameat.texi
lib/renameat.c
lib/stdio.in.h