Gabriel de Perthuis
2013-Jun-06 09:27 UTC
[Libguestfs] [supermin PATCH] Add stdarg.h to fix issues with va_start.
--- Prevents errors like these: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/shadow/files/shadow-4.1.5-stdarg.patch?view=diff&r1=text&tr1=1.1&r2=text&tr2=1.1&diff_format=s helper/utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/helper/utils.c b/helper/utils.c index 67d8ad2..c211a03 100644 --- a/helper/utils.c +++ b/helper/utils.c @@ -16,10 +16,11 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <config.h> +#include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <dirent.h> -- 1.8.3.222.g430da9e
Richard W.M. Jones
2013-Jun-06 11:16 UTC
Re: [Libguestfs] [supermin PATCH] Add stdarg.h to fix issues with va_start.
On Thu, Jun 06, 2013 at 11:27:29AM +0200, Gabriel de Perthuis wrote:> --- > Prevents errors like these: > > http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/shadow/files/shadow-4.1.5-stdarg.patch?view=diff&r1=text&tr1=1.1&r2=text&tr2=1.1&diff_format=s > > helper/utils.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/helper/utils.c b/helper/utils.c > index 67d8ad2..c211a03 100644 > --- a/helper/utils.c > +++ b/helper/utils.c > @@ -16,10 +16,11 @@ > * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. > */ > > #include <config.h> > > +#include <stdarg.h> > #include <stdio.h> > #include <stdlib.h> > #include <stdint.h> > #include <string.h> > #include <dirent.h> > -- > 1.8.3.222.g430da9eThanks - I've applied this with a small modification. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
Reasonably Related Threads
- [Bug 2456] New: gssapi-keyex blocked by PermitRootLogin=without-password
- [supermin PATCH] RFC: Add a --names-only flag.
- Mounting devfs over to ZFS from fstab fails
- [Bug 1615] New: the pathname length of home directory is limited to less than 256 chars
- kernel.h error stdarg.h