> > --- > server/event-loop.c | 3 +++ > server/tests/stream-test.c | 4 ++++ > server/tests/test-qxl-parsing.c | 3 +++ > 3 files changed, 10 insertions(+) > > diff --git a/server/event-loop.c b/server/event-loop.c > index 1b57460..80add0b 100644 > --- a/server/event-loop.c > +++ b/server/event-loop.c > @@ -21,6 +21,9 @@ > * > * const SpiceCoreInterfaceInternal event_loop_core; > */ > +#ifdef HAVE_CONFIG_H > +#include <config.h> > +#endif > > #include "red-common.h" > > diff --git a/server/tests/stream-test.c b/server/tests/stream-test.c > index 623a394..9c43d74 100644 > --- a/server/tests/stream-test.c > +++ b/server/tests/stream-test.c > @@ -1,3 +1,7 @@ > +#ifdef HAVE_CONFIG_H > +#include <config.h> > +#endif > + > #include <sys/types.h> > #include <sys/socket.h> > #include <errno.h> > diff --git a/server/tests/test-qxl-parsing.c > b/server/tests/test-qxl-parsing.c > index a3b2e6c..a8dd27b 100644 > --- a/server/tests/test-qxl-parsing.c > +++ b/server/tests/test-qxl-parsing.c > @@ -1,5 +1,8 @@ > /* Do some tests on memory parsing > */ > +#ifdef HAVE_CONFIG_H > +#include <config.h> > +#endif > > #undef NDEBUG > #include <string.h> Acked-by: Frediano Ziglio <fziglio@xxxxxxxxxx> Frediano OT: as config.h is always included does it make sense to check for HAVE_CONFIG_H ?? _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel