[PATCH] tablet-shell: Fix compiling error for using stderr.
Kristian Høgsberg
hoegsberg at gmail.com
Fri Jun 15 07:22:19 PDT 2012
On Thu, Jun 14, 2012 at 10:12:55AM +0300, Pekka Paalanen wrote:
> 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.
I do agree, but the compile fix is committed for now.
Kristian
More information about the wayland-devel
mailing list