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

Måns Rullgård mans
Thu Mar 13 10:11:34 CET 2008


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.

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




More information about the ffmpeg-devel mailing list