[Libguestfs] Missing stdarg.h include

From: Guido Günther <agx sigxcpu org>

To: libguestfs redhat com

Subject: [Libguestfs] Missing stdarg.h include

Date: Fri, 5 Nov 2010 01:45:19 +0100

Hi,
building current git fails with
gcc -std=gnu99 -std=gnu99 -I.. -I/usr/lib/ocaml -I../ocaml -I../src -I../src -g -O2 -fPIC -Wall -c guestfs_c_actions.c
In file included from ../src/guestfs.h:84,
from guestfs_c_actions.c:35:
../src/guestfs-actions.h:28: error: expected declaration specifiers or '...' before 'va_list'
This is fixed by an
#include <stdarg.h>
but since this file is autogenrated in some ocaml magic it'd I'm not
sure what's the best place to fix this.
Chees,
-- Guido