]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpcgen: tests: Include stdint.h in test_demo.c
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 8 Apr 2024 13:31:30 +0000 (15:31 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 8 Apr 2024 13:47:24 +0000 (15:47 +0200)
commitfdd440c096164180d9ae035cc311ce2b48ce4565
treec3ae303f242b06bd953d60875f9e61b559206d6a
parentc9dbcd2c874f619e7b39ff4ddeab4ff5fa1f9f97
rpcgen: tests: Include stdint.h in test_demo.c

Since header file structure is a bit different on MacOS, it
doesn't get uint64_t type declaration and thus test_demo.c must
include it explicitly. This is proper solution anyway, because on
Linux we're apparently relying on the header file sneaking
through some other include.

Resolves: https://gitlab.com/libvirt/libvirt/-/issues/619
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
scripts/rpcgen/tests/test_demo.c