From 72494bfce145ef83bd1e65a07b0ff7aa78ae1c8e Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Thu, 24 Oct 2024 08:45:46 +1300 Subject: [PATCH] Avoid unused static function warning on non-mingw! --- xapian-applications/omega/runfilter.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xapian-applications/omega/runfilter.cc b/xapian-applications/omega/runfilter.cc index 9486512c6..4b869f622 100644 --- a/xapian-applications/omega/runfilter.cc +++ b/xapian-applications/omega/runfilter.cc @@ -47,12 +47,15 @@ # include #endif -#include "append_filename_arg.h" #include "closefrom.h" #include "freemem.h" #include "setenv.h" #include "stringutils.h" +#ifdef __WIN32__ +# include "append_filename_arg.h" +#endif + using namespace std; #ifndef __WIN32__ -- 2.11.4.GIT