Re: [PATCH] autoconf: Add test for sys/select.h header file
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 26, 2008, 06:25 UTC
- Message-ID
- <7v8x2d3xya.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <1201259981-7115-1-git-send-email-jnareb@gmail.com>
Jakub Narebski <jnareb@gmail.com> writes:
Show 14 quoted lines
> Some systems like HP-UX don't have sys/select.h; the select stuff > is already present in some other headef file (e.g. sys/time.h for > HP-UX). > > Companion to > "some systems don't have (and need) sys/select.h" > > Signed-off-by: Jakub Narebski <jnareb@gmail.com> > --- > It could be alternately just squashed together with > "some systems don't have (and need) sys/select.h" by Robert Schiele. > > Robert, could you please check this patch on HP-UX? It does work > correctly on Linux (which has sys/select.h).
The issue is not really about "do we have <sys/select.h>?" but is about "do we need to include <sys/select.h> in order to obtain declaration of select(2)?" so this is covering only a half of the issue. But I guess we will find out if the system does not offer select(2) whether <sys/select.h> is included or not, so this is not too bad.
Will apply. I do not think it would have problems but even if it does it is small and easy to revert before the final.
Thanks.