[PATCH weston] Fix compiler warnings

Kristian Høgsberg hoegsberg at gmail.com
Wed Apr 3 17:42:32 PDT 2013


On Wed, Apr 03, 2013 at 09:29:03PM +0200, Armin K wrote:
> This prevents compiler warnings when using libpng 1.6 and GCC 4.8
> ---
>  shared/image-loader.c | 1 +
>  1 file changed, 1 insertion(+)

Thanks, applied.
Kristian

> diff --git a/shared/image-loader.c b/shared/image-loader.c
> index c9f15d4..9f65dea 100644
> --- a/shared/image-loader.c
> +++ b/shared/image-loader.c
> @@ -25,6 +25,7 @@
>  
>  #include <stdlib.h>
>  #include <stdio.h>
> +#include <string.h>
>  #include <jpeglib.h>
>  #include <png.h>
>  #include <pixman.h>
> -- 
> 1.8.2
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list