[FFmpeg-devel] [PATCH] add #include "config.h" to internal libavutil headers
Fri Mar 14 00:45:22 CET 2008
Aurelien Jacobs <aurel at gnuage.org> writes:
> 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.
>> > Diego
>> > Index: libavutil/intreadwrite.h
>> > ===================================================================
>> > --- libavutil/intreadwrite.h (revision 12430)
>> > +++ libavutil/intreadwrite.h (working copy)
>> > @@ -21,6 +21,7 @@
>> > #include <stdint.h>
>> > #include "bswap.h"
>> > +#include "config.h"
>> > #ifdef __GNUC__
>> If included at all, config.h should be before any other FFmpeg
> Out of curiosity, could you explain why ?
It made sense when I wrote it, honest. Assuming all headers that use
symbols from config.h also include it, the order obviously doesn't
mans at mansr.com
More information about the ffmpeg-devel