From ca0a1545626ca01bc571fa1311d102274c023c40 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 27 Mar 2016 16:55:09 +0000 Subject: [PATCH] Workaround client-tags.c being compiled when it shouldn't be In theory the generated GNUmakefile should make sure that the file is only compiled if FEATURE_CLIENT_TAGS is enabled, but as Lee reported on jbswa-developers@ this currently does not work. --- client-tags.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client-tags.c b/client-tags.c index 165f8207..31b49d15 100644 --- a/client-tags.c +++ b/client-tags.c @@ -28,6 +28,8 @@ #include "config.h" +#ifdef FEATURE_CLIENT_TAGS + #include #include #include @@ -586,3 +588,4 @@ int client_tag_match(const struct pattern_spec *pattern, return 0; } +#endif /* def FEATURE_CLIENT_TAGS */ -- 2.39.2