[Libguestfs] Missing stdarg.h include

Guido Günther
Fri, 05 Nov 2010 00:45:19 -0000

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