mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
tests: Add workaround for missing O_CLOEXEC.
This commit is contained in:
@@ -27,6 +27,10 @@
|
||||
|
||||
#include <libvirt/libvirt.h>
|
||||
|
||||
#ifndef O_CLOEXEC
|
||||
#define O_CLOEXEC 0
|
||||
#endif
|
||||
|
||||
char *
|
||||
virDomainGetXMLDesc (virDomainPtr dom, unsigned int flags)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user