From 5568aa7cd5a64894bf881a8b64b582e59d16f1f5 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Fri, 24 Aug 2012 15:13:17 +0200 Subject: Fix missing config.h in buffer.c Due to an oversight, splice will never actually be used for i/o. Someone forgot to #include "config.h" in lib/buffer.c (in fact almost no files include that header). As a result, even though configure detects splice support and puts HAVE_SPLICE in config.h, buffer.c is always compiled as if there is no splice support. Also add #include "config.h" to fuse.c and fuse_lowlevel.c. These currently include it indirectly through fuse_misc.h, but we don't want to depend on that. Reported by Matthew Gabeler-Lee --- lib/buffer.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/buffer.c') diff --git a/lib/buffer.c b/lib/buffer.c index 65b0dea..17a595c 100644 --- a/lib/buffer.c +++ b/lib/buffer.c @@ -8,6 +8,7 @@ #define _GNU_SOURCE +#include "config.h" #include "fuse_i.h" #include "fuse_lowlevel.h" #include -- cgit v1.2.3