X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=dfa%2Freadfile.c;h=4e266bcd4f91450e9bd8897edd67f8f7aec78dac;hp=b0eb5f3273ca01b2fdac373064dd3b600f958186;hb=c00bfddbf0f3608340d61298acc61dafb167f9b2;hpb=a66b7d79383ae700f3358731eecfe2aafed0e90d diff --git a/dfa/readfile.c b/dfa/readfile.c index b0eb5f3..4e266bc 100644 --- a/dfa/readfile.c +++ b/dfa/readfile.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1994-2010 Index Data + Copyright (C) Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -18,6 +18,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if HAVE_CONFIG_H +#include +#endif #include #include @@ -98,9 +101,9 @@ static void read_rules (struct DFA *dfa) /* copy rest of line to output */ fputs (s, outf); else - { + { /* preprocess regular expression */ - prep (&s); + prep (&s); /* now parse regular expression */ sc = s; i = dfa_parse (dfa, &sc);