summaryrefslogtreecommitdiffstats
path: root/main/udisks2/O_CLOEXEC.patch
blob: 790fc2d8b723c5b4c5e27153f04153338243eb3d (plain)
1
2
3
4
5
6
7
8
9
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>