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 12:25:24 +0000 (12:25 +0000)
Public headers use va_list, and this gives an error unless <stdarg.h>
had been included before the header.

src/guestfs.h

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