[Libguestfs] [supermin PATCH] Add stdarg.h to fix issues with va_start.
Richard W.M. Jones
rjones at redhat.com
Thu Jun 6 11:16:25 UTC 2013
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.g430da9e
Thanks - 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
More information about the Libguestfs
mailing list