diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2013-11-12 18:21:52 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2013-11-22 15:58:06 +0000 |
commit | 4f1ea70fd1875aa045dc51fd0da770199f92449a (patch) | |
tree | f161f0da2e3185f9c77025436b841d050211f608 /typewrappers.c | |
parent | ca48db168f28778bdcffa243709d545d6dc786e5 (diff) | |
download | libvirt-python-4f1ea70fd1875aa045dc51fd0da770199f92449a.tar.gz |
Import VIR_ALLOC / VIR_ALLOC_N / VIR_REALLOC_N functions
Import the libvirt memory allocation functions, stripping the OOM
testing and error reporting pieces.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'typewrappers.c')
-rw-r--r-- | typewrappers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/typewrappers.c b/typewrappers.c index ba02d6a..d6cbbf1 100644 --- a/typewrappers.c +++ b/typewrappers.c @@ -13,6 +13,7 @@ #undef HAVE_PTHREAD_H #include "typewrappers.h" +#include "libvirt-utils.h" #ifndef Py_CAPSULE_H typedef void(*PyCapsule_Destructor)(void *, void *); |