[klibc] [PATCH] Fix <sys/time.h> for Linux 3.5.1
max at stro.at
Mon Oct 1 06:07:18 PDT 2012
On Tue, 25 Sep 2012, Colin Watson wrote:
> With Linux 3.5.1, 'make test' fails with:
> usr/klibc/tests/select.c: In function ‘main’:
> usr/klibc/tests/select.c:31:14: error: ‘FD_SETSIZE’ undeclared (first use in this function)
> usr/klibc/tests/select.c:31:14: note: each undeclared identifier is reported only once for each function it appears in
> This is due to Linux commit 8ded2bbc1845e19c771eb55209aab166ef011243.
> Handle it by making sure that FD_SETSIZE is defined.
> usr/include/sys/time.h | 5 +++++
> 1 file changed, 5 insertions(+)
2 nitpicks: added your signed-off-by.
> + From 3.5.1, <linux/time.h> does not even define FD_ZERO etc.
This comment belongs to git changeset not to file header,
so moved it there.
Thanks, applied and pushed.
More information about the klibc