[PATCH] tablet-shell: Fix compiling error for using stderr.
Pekka Paalanen
ppaalanen at gmail.com
Thu Jun 14 00:12:55 PDT 2012
On Thu, 14 Jun 2012 15:07:47 +0800
zhiwen.wu at linux.intel.com wrote:
> From: Alex Wu <zhiwen.wu at linux.intel.com>
>
> Not including the stdio.h makes this compiling error.
> ---
> src/tablet-shell.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/tablet-shell.c b/src/tablet-shell.c
> index 91b1514..56512f6 100644
> --- a/src/tablet-shell.c
> +++ b/src/tablet-shell.c
> @@ -23,6 +23,7 @@
> #include <sys/wait.h>
> #include <unistd.h>
> #include <stdlib.h>
> +#include <stdio.h>
> #include <string.h>
> #include <linux/input.h>
>
Indeed, but I think it would be better to just convert the remaining
fprintf(stderr's to weston_log() calls.
Thanks,
pq
More information about the wayland-devel
mailing list