diff mbox series

xenstore: talloc.h needs to include stdarg.h

Message ID 59e4faa6-7b1c-7d48-64d5-925a618c43da@suse.com (mailing list archive)
State New, archived
Headers show
Series xenstore: talloc.h needs to include stdarg.h | expand

Commit Message

Jan Beulich July 5, 2023, 2:43 p.m. UTC
talloc_vasprintf() has a va_list type parameter, so this type needs to
be defined (independent of the particular libc implementation).

Fixes: 63b6419d2a2d ("tools/xenstore: split out rest of live update control code")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
---
The Fixes: tag is largely a guess; I did not verify whether any other of
the recent changes would also play into this.

Comments

Jürgen Groß July 5, 2023, 3:04 p.m. UTC | #1
On 05.07.23 16:43, Jan Beulich wrote:
> talloc_vasprintf() has a va_list type parameter, so this type needs to
> be defined (independent of the particular libc implementation).
> 
> Fixes: 63b6419d2a2d ("tools/xenstore: split out rest of live update control code")
> Signed-off-by: Jan Beulich <jbeulich@suse.com>

Reviewed-by: Juergen Gross <jgross@suse.com>


Juergen
diff mbox series

Patch

--- a/tools/xenstore/talloc.h
+++ b/tools/xenstore/talloc.h
@@ -24,6 +24,7 @@ 
    License along with this library; If not, see <http://www.gnu.org/licenses/>.
 */
 
+#include <stdarg.h>
 #include <sys/types.h>
 
 #include "utils.h"