[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: memrchr on cygwin
From: |
Bruno Haible |
Subject: |
Re: memrchr on cygwin |
Date: |
Tue, 30 Jan 2007 00:12:45 +0100 (MET) |
User-agent: |
KMail/1.5.4 |
Eric Blake wrote:
> OK to apply this?
>
> 2007-01-29 Eric Blake <address@hidden>
>
> * lib/memrchr.c: Assume <string.h> unconditionally, to pull in
> size_t as needed.
Yes, this is OK. Usually when one needs size_t, including <stddef.h>
is the preferred choice, because it defines a minimum of declarations.
But here the problem actually is that memchr.c doesn't include its
specification header <string.h>.
Thank you for shaking out this problem so quickly!
Bruno