On Mon, 25 Apr 2011, lu_z...@gentoo.org wrote:

> From: Luca Barbato <lu_z...@gentoo.org>
> 
> CommandLineToArgvW requires windows.h, include it directly
> ---
>  cmdutils.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/cmdutils.c b/cmdutils.c
> index f25f61d..d15aba0 100644
> --- a/cmdutils.c
> +++ b/cmdutils.c
> @@ -156,6 +156,7 @@ static const OptionDef* find_option(const OptionDef *po, 
> const char *name){
>  }
>  
>  #if defined(_WIN32) && !defined(__MINGW32CE__)
> +#include <windows.h>
>  /* Will be leaked on exit */
>  static char** win32_argv_utf8 = NULL;
>  static int win32_argc = 0;

Ok

// Martin
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to