X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Ftextsearch.c;h=9fbcb44c554f9edbb2b2b439c20d5e18362cdc6d;hb=61311e1bbc299b3a3a42b8d7f491b428ded964f0;hp=b451fcc9354c0f1811ae268d62d2bc1990197ad8;hpb=2aec609fb45e84d65bc8eabc7b650bbecb1cc179;p=linux-2.6 diff --git a/lib/textsearch.c b/lib/textsearch.c index b451fcc935..9fbcb44c55 100644 --- a/lib/textsearch.c +++ b/lib/textsearch.c @@ -99,6 +99,7 @@ #include #include #include +#include #include #include #include @@ -266,7 +267,7 @@ struct ts_config *textsearch_prepare(const char *algo, const void *pattern, return ERR_PTR(-EINVAL); ops = lookup_ts_algo(algo); -#ifdef CONFIG_KMOD +#ifdef CONFIG_MODULES /* * Why not always autoload you may ask. Some users are * in a situation where requesting a module may deadlock,