Re: [PATCH] Solaris needs strings.h when using index().
- From
Junio C Hamano <junkio@cox.net>
- Date
- Apr 4, 2006, 18:18 UTC
- Message-ID
- <7vwte56w7n.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20060404123603.GA14071@bohr.gbar.dtu.dk>
"Peter Eriksen" <s022018@student.dtu.dk> writes:
Show 5 quoted lines
> From: Peter Eriksen <s022018@student.dtu.dk> > Date: Tue Apr 4 14:33:14 2006 +0200 > Subject: [PATCH] Solaris needs strings.h when using index(). > > Signed-off-by: Peter Eriksen <s022018@student.dtu.dk>
I think somebody else noticed this the other day but I'm undecided if it is easier to replace use of index with strchr, since we include <string.h> and use strchr() everywhere.