string, sys_select: Avoid #including large headers unless necessary.
authorBruno Haible <bruno@clisp.org>
Wed, 6 Oct 2010 22:52:15 +0000 (00:52 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 6 Oct 2010 22:52:15 +0000 (00:52 +0200)
commita4c6c61e4b224834f9b6a51fce16f3adbe1d982e
tree2dbeb3ecea7ddb3daa3ca4944a0f0cbd4c545598
parentc823199df2cc03b6bd70d0a2fef5999af82792fe
string, sys_select: Avoid #including large headers unless necessary.

* lib/string.in.h: Don't include <unistd.h> except on NetBSD.
* lib/sys_select.in.h: Don't include <string.h> except on Solaris,
OSF/1, BeOS, Haiku.
Reported by Jim Meyering.
ChangeLog
lib/string.in.h
lib/sys_select.in.h