summaryrefslogtreecommitdiff
path: root/lib/buffer.c
diff options
context:
space:
mode:
authorBernd Schubert <bschubert@ddn.com>2023-01-27 21:54:48 +0100
committerNikolaus Rath <Nikolaus@rath.org>2023-01-28 09:35:34 +0000
commitdb35a37def14b72181f3630efeea0e0433103c41 (patch)
tree95a70e1bf36e968dcd6218731e6b061b3ceedae2 /lib/buffer.c
parente42b972271dfd70735eada21e7770a19effe7fd4 (diff)
downloadfuse-db35a37def14b72181f3630efeea0e0433103c41.tar.gz
Install a the configure_file (config.h) and use in headers
This addresses: https://github.com/libfuse/libfuse/issues/724 HAVE_LIBC_VERSIONED_SYMBOLS configures the library if to use versioned symbols and is set at meson configuration time. External filesystems (the main target, actually) include fuse headers and the preprocessor then acts on HAVE_LIBC_VERSIONED_SYMBOLS. Problem was now that 'config.h' was not distributed with libfuse and so HAVE_LIBC_VERSIONED_SYMBOLS was never defined with external tools and the preprocessor did the wrong decision. This commit also increases the the minimal meson version, as this depends on meson feature only available in 0.50 <quote 'meson' > WARNING: Project specifies a minimum meson_ version '>= 0.42' but uses features which were added in newer versions: * 0.50.0: {'install arg in configure_file'} </quote> Additionally the config file has been renamed to "fuse_config.h" to avoid clashes - 'config.h' is not very specific.
Diffstat (limited to 'lib/buffer.c')
-rw-r--r--lib/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/buffer.c b/lib/buffer.c
index 757807a..4f2f491 100644
--- a/lib/buffer.c
+++ b/lib/buffer.c
@@ -11,7 +11,7 @@
#define _GNU_SOURCE
-#include "config.h"
+#include "fuse_config.h"
#include "fuse_i.h"
#include "fuse_lowlevel.h"
#include <string.h>