[vlc-devel] [PATCH 1/8] playlist/engine: add missing include for vlc_arrays.h

Rémi Denis-Courmont remi at remlab.net
Sun May 21 21:11:28 CEST 2017


Le sunnuntaina 21. toukokuuta 2017, 20.48.11 EEST Filip Roséen a écrit :
> The affected translation-unit makes use things from vlc_arrays.h (such
> as ARRAY_INIT), but did not directly include it.

I wish that VLC headers were not so promiscuous, but for the time being 
vlc_arrays.h is included by vlc_common.h, so this change alone is useless.

> ---
>  src/playlist/engine.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/playlist/engine.c b/src/playlist/engine.c
> index f83651c55e..eeacbc59e7 100644
> --- a/src/playlist/engine.c
> +++ b/src/playlist/engine.c
> @@ -29,6 +29,7 @@
>  #include <assert.h>
> 
>  #include <vlc_common.h>
> +#include <vlc_arrays.h>
>  #include <vlc_sout.h>
>  #include <vlc_playlist.h>
>  #include <vlc_interface.h>


-- 
雷米‧德尼-库尔蒙
https://www.remlab.net/



More information about the vlc-devel mailing list