On Wed, Jan 04, 2017 at 12:08:14PM +0500, Mihail Konev wrote:
> Signed-off-by: Mihail Konev <[email protected]>
> ---
>  test/simple-xinit.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/test/simple-xinit.c b/test/simple-xinit.c
> index 89189a609c19..92a38d4b5319 100644
> --- a/test/simple-xinit.c
> +++ b/test/simple-xinit.c
> @@ -25,6 +25,11 @@
>  #include <dix-config.h>
>  #endif
>  
> +/* for asprintf */
> +#ifndef _GNU_SOURCE
> +#define _GNU_SOURCE
> +#endif

shouldn't this come from AC_USE_SYSTEM_EXTENSIONS? Is there some include
order missing here?

Cheers,
   Peter

> +
>  #include <errno.h>
>  #include <signal.h>
>  #include <stdbool.h>
> -- 
> 2.9.2
> 
> _______________________________________________
> [email protected]: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: https://lists.x.org/mailman/listinfo/xorg-devel
> 
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to