I found this one while trying to compile ruby-libvirt. Matthias
From 6858713a7ea7fad961acbc4d4f3c0c53ede2302d Mon Sep 17 00:00:00 2001 From: Matthias Bolte <matthias.bolte@xxxxxxxxxxxxxx> Date: Wed, 9 Mar 2011 10:42:49 +0100 Subject: [PATCH] Include stdint.h in libvirt.h for INT64_MAX VIR_DOMAIN_MEMORY_PARAM_UNLIMITED uses INT64_MAX but stdint.h was not included. Therefore, libvirt.h was not selfcontained. --- include/libvirt/libvirt.h.in | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in index 618b350..41801d2 100644 --- a/include/libvirt/libvirt.h.in +++ b/include/libvirt/libvirt.h.in @@ -15,6 +15,7 @@ #define __VIR_VIRLIB_H__ #include <sys/types.h> +#include <stdint.h> /* for INT64_MAX */ #ifdef __cplusplus extern "C" { -- 1.7.0.4
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list