add missing includes for C library functions
commit85e58cb2eefbdb380a96bb32715f5149ed9ad553
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 20 Sep 2023 17:27:20 +0000 (20 18:27 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 25 Sep 2023 11:17:31 +0000 (25 11:17 +0000)
tree9b3ed7edafe55743985a8c28e0d0e3a98084f52d
parentc4ede872848d50a57041e0c1d4a7b5f52fa71357
add missing includes for C library functions

We use various C library functions like printf, strcmp, free
but don't have the corresponding #includes, getting them
indirectly via Python.h. This is a bad idea as Python.h is
not guaranteed to provided these, and indeed will omit them
when Py_LIMITED_API is greater then 0x030a0000.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
generator.py
libvirt-override.c
libvirt-qemu-override.c
libvirt-utils.c
typewrappers.c