On Fri, Mar 10, 2017 at 08:41:50AM -0500, Frediano Ziglio wrote: > > > > On Fri, Mar 10, 2017 at 09:59:38AM +0100, Christophe Fergeau wrote: > > > This allows to move some low-level code out of reds.c > > > > Forgot that this patch (or one of the patches in this series) needs a > > minor spice-common patch too to avoid build failures. > > > > diff --git a/common/log.h b/common/log.h > > index 0e03f59..11261ca 100644 > > --- a/common/log.h > > +++ b/common/log.h > > @@ -18,6 +18,8 @@ > > #ifndef H_SPICE_LOG > > #define H_SPICE_LOG > > > > +#include <stdio.h> > > + > > #include <glib.h> > > > > #include <spice/macros.h> > > > > Christophe > > > > This patch looks weird. > Why is this necessary? > Maybe the problem is that this file is not self independent? > Yes, the use of fprintf/stderr for spice_printerr means stdio.h is required. Usually we get it indirectly, but net-utils.h does not include many headers. Christophe
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel