[vlc-devel] [vlc-commits] test: hxxx: missing config.h

Hugo Beauzée-Luyssen hugo at beauzee.fr
Tue Dec 26 11:11:37 CET 2017


On Tue, Dec 26, 2017, at 11:09 AM, Francois Cartegnie wrote:
> vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Dec 
> 26 11:05:41 2017 +0100| [bb9623a7e8cd80a3e3bd6886a145785816088682] | 
> committer: Francois Cartegnie
> 
> test: hxxx: missing config.h
> 
> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bb9623a7e8cd80a3e3bd6886a145785816088682
> ---
> 
>  test/modules/packetizer/hxxx.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/test/modules/packetizer/hxxx.c b/test/modules/packetizer/hxxx.c
> index 93362a1b05..7f44c207c8 100644
> --- a/test/modules/packetizer/hxxx.c
> +++ b/test/modules/packetizer/hxxx.c
> @@ -21,6 +21,11 @@
>  #ifdef NDEBUG
>   #undef NDEBUG
>  #endif

Seems like this block should be below config.h if you really want to ensure NDEBUG is not defined

> +
> +#ifdef HAVE_CONFIG_H
> +# include "config.h"
> +#endif
> +
>  #include <assert.h>
>  #include <vlc_common.h>
>  #include <vlc_block.h>
> 
> _______________________________________________
> vlc-commits mailing list
> vlc-commits at videolan.org
> https://mailman.videolan.org/listinfo/vlc-commits


-- 
  Hugo Beauzée-Luyssen
  hugo at beauzee.fr


More information about the vlc-devel mailing list