tests: Add workaround for missing O_CLOEXEC.

This commit is contained in:
Richard W.M. Jones
2012-06-22 12:58:49 +01:00
parent 35882ba977
commit 9e7644346d

View File

@@ -27,6 +27,10 @@
#include <libvirt/libvirt.h>
#ifndef O_CLOEXEC
#define O_CLOEXEC 0
#endif
char *
virDomainGetXMLDesc (virDomainPtr dom, unsigned int flags)
{