[FFmpeg-devel] [PATCH] replace stddef.h by sys/types.h for size_t definition

Michael Niedermayer michaelni
Thu Mar 13 19:22:45 CET 2008


On Thu, Mar 13, 2008 at 07:13:19PM +0100, Diego Biurrun wrote:
> On Thu, Mar 13, 2008 at 09:11:34AM +0000, M?ns Rullg?rd wrote:
> > Diego Biurrun <diego at biurrun.de> writes:
> > 
> > > This changes one inclusion of stddef.h to sys/types.h.  I believe this
> > > is the correct header for size_t.
> > 
> > Your belief is inaccurate.  Both are required to supply size_t.
> > However, stddef.h is standard C, and sys/types.h is not.  I think we
> > should use standard C headers where possible.
> 
> OK, then I guess the attached patch is in order..

ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is not what we do, but why we do it that matters.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080313/98ac411f/attachment.pgp>



More information about the ffmpeg-devel mailing list