Skip to contentSkip to conversation

xenstore: talloc.h needs to include stdarg.h

PATCH In review Jan Beulich 2 participants 2 messages Jul 5, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xenstore: talloc.h needs to include stdarg.h

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")

---
The Fixes: tag is largely a guess; I did not verify whether any other of the recent changes would also play into this.

tools/xenstore/talloc.h +1 -0
@@ -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"