[FFmpeg-devel] [PATCH] accept socklen_t in sys/types.h

Reimar Döffinger Reimar.Doeffinger
Sat Dec 13 09:24:38 CET 2008


On Fri, Dec 12, 2008 at 11:37:33PM +0000, M?ns Rullg?rd wrote:
> Reimar D?ffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> writes:
> > in another case of "doing things different just to annoy",
> > OpenBSD has socklen_t only in sys/types.h and while sys/socket.h
> > requires that header it does not include it.
> 
> The standard requires that sys/socket.h define socklen_t:
> http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/socket.h.html
> The description of sys/types.h does however not mention socklen_t.

Yes, one of the reasons why I asked first. My impression is that OpenBSD
does not take standards seriously at all, at least they don't actually
test their code against it.
Which explains why they always need so many ugly hacks to get things to
compile...




More information about the ffmpeg-devel mailing list