From: Fabian Keil Date: Sun, 27 Mar 2016 16:55:09 +0000 (+0000) Subject: Workaround client-tags.c being compiled when it shouldn't be X-Git-Tag: v_3_0_25~103 X-Git-Url: http://www.privoxy.org/gitweb/?a=commitdiff_plain;h=ca0a1545626ca01bc571fa1311d102274c023c40;p=privoxy.git 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. --- 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 */