[PATCH:libxtrans 1/2] Add missing headers for free() and strlen().

Mark Kettenis mark.kettenis at xs4all.nl
Wed Mar 26 05:09:26 PDT 2014


> From: Thomas Klausner <wiz at NetBSD.org>
> Date: Wed, 26 Mar 2014 12:49:31 +0100
> 
> Signed-off-by: Thomas Klausner <wiz at NetBSD.org>

Reviewed-by: Mark Kettenis <kettenis at openbsd.org>

> ---
>  Xtrans.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Xtrans.c b/Xtrans.c
> index 735d7b8..9a6dfbc 100644
> --- a/Xtrans.c
> +++ b/Xtrans.c
> @@ -48,6 +48,8 @@ from The Open Group.
>   */
>  
>  #include <ctype.h>
> +#include <stdlib.h>
> +#include <string.h>
>  
>  /*
>   * The transport table contains a definition for every transport (protocol)
> -- 
> 1.9.0
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
> 


More information about the xorg-devel mailing list