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/fuse.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/fuse.c') diff --git a/lib/fuse.c b/lib/fuse.c index 49d69db..2907cfe 100644 --- a/lib/fuse.c +++ b/lib/fuse.c @@ -10,6 +10,7 @@ /* For pthread_rwlock_t */ #define _GNU_SOURCE +#include "config.h" #include "fuse_i.h" #include "fuse_lowlevel.h" #include "fuse_opt.h" -- cgit v1.2.3