Include <stdarg.h> in public header.
authorGuido Günther <agx@sigxcpu.org>
Fri, 5 Nov 2010 12:23:11 +0000 (12:23 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 5 Nov 2010 14:45:30 +0000 (14:45 +0000)
Public headers use va_list, and this gives an error unless <stdarg.h>
had been included before the header.
(cherry picked from commit 7fc338690f385c2495b7ba5f98346a5c057991ea)

src/guestfs.h

index 911e956..cd87c88 100644 (file)
@@ -35,6 +35,7 @@ extern "C" {
 #endif
 
 #include <stdint.h>
+#include <stdarg.h>
 
 typedef struct guestfs_h guestfs_h;