summaryrefslogtreecommitdiff
path: root/user/udisks2/O_CLOEXEC.patch
blob: 99d3c7fcc18f08e3396df4aef1497032a6e3f8ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- src/udiskslinuxblock.c.orig
+++ ./src/udiskslinuxblock.c
@@ -26,6 +26,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>