summaryrefslogtreecommitdiff
path: root/user/udisks2/O_CLOEXEC.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/udisks2/O_CLOEXEC.patch')
-rw-r--r--user/udisks2/O_CLOEXEC.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/user/udisks2/O_CLOEXEC.patch b/user/udisks2/O_CLOEXEC.patch
new file mode 100644
index 000000000..790fc2d8b
--- /dev/null
+++ b/user/udisks2/O_CLOEXEC.patch
@@ -0,0 +1,10 @@
+--- 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>