[FFmpeg-devel] [PATCH] add #include "config.h" to internal libavutil headers

Diego Biurrun diego
Thu Mar 13 19:09:12 CET 2008


On Thu, Mar 13, 2008 at 09:08:54AM +0000, M?ns Rullg?rd wrote:
> Diego Biurrun <diego at biurrun.de> writes:
> 
> > This adds a few #include "config.h" to internal libavutil headers to
> > make them self-contained.
> >
> > --- libavutil/intreadwrite.h	(revision 12430)
> > +++ libavutil/intreadwrite.h	(working copy)
> > @@ -21,6 +21,7 @@
> >  
> >  #include <stdint.h>
> >  #include "bswap.h"
> > +#include "config.h"
> 
> If included at all, config.h should be before any other FFmpeg
> headers.

Well, why not before all headers, including system ones, then?

Patch applied.

Diego




More information about the ffmpeg-devel mailing list