On Wed, 23 May 2012 10:01:02 -0600
Eric Blake <ebl...@redhat.com> wrote:

> >  #include <glib.h>
> > +#include <unistd.h>
> >  #include <sys/types.h>
> >  #include <sys/ioctl.h>
> >  #include "qga/guest-agent-core.h"
> > @@ -20,6 +21,10 @@
> >  #include "qemu-queue.h"
> >  #include "host-utils.h"
> >  
> > +#ifndef _GNU_SOURCE
> > +extern char **environ;
> > +#endif
> 
> Looks reasonable.

But that's not the cause of problem. What's happening is that on F16 environ
is declared automatically in <unistd.h>. I'll post a different fix right now.

Reply via email to