diff options
-rw-r--r-- | examples/mount_local.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/mount_local.c b/examples/mount_local.c index 3e18fd90..54aa9e44 100644 --- a/examples/mount_local.c +++ b/examples/mount_local.c @@ -14,6 +14,10 @@ #include <guestfs.h> +#ifndef O_CLOEXEC +#define O_CLOEXEC 0 +#endif + static void usage (void) { |