void-packages/srcpkgs/fuse/patches/fuse-lock.patch
2014-01-11 12:04:28 +01:00

20 lines
395 B
Diff

--- lib/fuse_lowlevel.c
+++ lib/fuse_lowlevel.c
@@ -24,6 +24,7 @@
#include <limits.h>
#include <errno.h>
#include <assert.h>
+#include <sys/file.h>
#ifndef F_LINUX_SPECIFIC_BASE
#define F_LINUX_SPECIFIC_BASE 1024
--- lib/fuse.c
+++ lib/fuse.c
@@ -37,6 +37,7 @@
#include <sys/uio.h>
#include <sys/time.h>
#include <sys/mman.h>
+#include <sys/file.h>
#define FUSE_NODE_SLAB 1