void-packages/srcpkgs/udisks2/patches/O_CLOEXEC.patch
2015-05-10 10:17:06 +02:00

10 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>