void-packages/srcpkgs/udisks2/patches/O_CLOEXEC.patch

11 lines
223 B
Diff

--- src/udiskslinuxblock.c.orig
+++ src/udiskslinuxblock.c
@@ -24,6 +24,7 @@
#include <sys/types.h>
#include <sys/mount.h>
#include <sys/stat.h>
+#define __USE_GNU
#include <fcntl.h>
#include <pwd.h>
#include <grp.h>