Files
libguestfs/generator/python.ml
Richard W.M. Jones 6acccf096e python: Include <Python.h> first
Python is broken and requires that we include <Python.h> before all
other headers so it can make inadvisable definitions of
_POSIX_C_SOURCE and other things.  This wasn't a problem before, but a
recent change to glibc makes this necessary now.

See also a similar commit in nbdkit:
f924c3c34b

I also removed the -Wcast-align suppression as that is no longer
needed.

(cherry picked from commit 18d9769dc3)
2026-03-07 09:36:41 +00:00

31 KiB