mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
debian: examples: Don't break when O_CLOEXEC is not defined.
This affected Debian 6.
This fixes commit 46b6766156.
This commit is contained in:
@@ -14,6 +14,10 @@
|
||||
|
||||
#include <guestfs.h>
|
||||
|
||||
#ifndef O_CLOEXEC
|
||||
#define O_CLOEXEC 0
|
||||
#endif
|
||||
|
||||
static void
|
||||
usage (void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user