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

Måns Rullgård mans
Sat Dec 13 00:37:33 CET 2008


Reimar D?ffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> writes:

> Hello,
> 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.
OpenBSD is clearly not complying to the standard here.

The patch is rather innocent though, so I don't mind it, at least not
very much.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list