diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/c-api/test-last-errno.c | 2 | ||||
-rw-r--r-- | tests/c-api/test-user-cancel.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/c-api/test-last-errno.c b/tests/c-api/test-last-errno.c index ab4479be..49ec556d 100644 --- a/tests/c-api/test-last-errno.c +++ b/tests/c-api/test-last-errno.c @@ -32,7 +32,7 @@ #include "guestfs.h" #ifndef O_CLOEXEC -#define O_CLOEXEC +#define O_CLOEXEC 0 #endif int diff --git a/tests/c-api/test-user-cancel.c b/tests/c-api/test-user-cancel.c index 1ae30c3d..fa860f5d 100644 --- a/tests/c-api/test-user-cancel.c +++ b/tests/c-api/test-user-cancel.c @@ -47,7 +47,7 @@ #include "guestfs.h" #ifndef O_CLOEXEC -#define O_CLOEXEC +#define O_CLOEXEC 0 #endif static const char *filename = "test.img"; |