On Friday 22 December 2006 10:58, Andy Polyakov wrote:
> > right now you need to include sys/types.h yourself before trying to
> > include openssl/sha.h or the build fails ... this patch does what some of
> > other openssl headers do and include sys/types.h properly
>
> This is about size_t, isn't it?

yes

> <sys/types.h> is wrong one to include. 
> <stddef.h> is one required by standard and is universally available.

i guess that depends on your definition of "wrong" ... POSIX requires that 
sys/types.h define size_t

> It's fixed now in HEAD and 098. A.

you might want to "fix" buffer.h as well then ... i modeled the sha.h patch 
after that file
-mike

Attachment: pgpQ7USfqzipt.pgp
Description: PGP signature

Reply via email to