]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Don't use INT64_MAX in libvirt.h because it requires stdint.h
authorMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 9 Mar 2011 09:42:49 +0000 (10:42 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 11 Mar 2011 21:08:24 +0000 (22:08 +0100)
commit5cc370aa369a070804994c83ac8c36e4d32b8e54
tree0d7436af26f8e68f8aac776f8a99fa981b601d74
parent2bbda1444dc12b2b7337f8faca12299978111a15
Don't use INT64_MAX in libvirt.h because it requires stdint.h

VIR_DOMAIN_MEMORY_PARAM_UNLIMITED uses INT64_MAX but stdint.h
was not and should not be included. Therefore, libvirt.h was
not self-contained.

Instead of including stdint.h specify the value directly.
include/libvirt/libvirt.h.in