[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: spiped 1.2.0 patch



On 08/30/12 13:31, James Turner wrote:
> On a somewhat related note, I did not need stdint.h on OpenBSD, but did
> need to add sys/types.h to both spipe/main.c and spipe/pushbits.c as
> sys/socket.h depends on it under OpenBSD.

This is a POSIX-compliance bug in OpenBSD: POSIX states that

> The <sys/socket.h> header shall define the size_t and ssize_t types as described in <sys/types.h>.
(http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_socket.h.html)

-- 
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid