X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=dfa%2Freadfile.c;h=4e266bcd4f91450e9bd8897edd67f8f7aec78dac;hp=03a16f57892d013fc05d58a1bd2ec075d2ca2b82;hb=c00bfddbf0f3608340d61298acc61dafb167f9b2;hpb=6a0f9234f945bc4956e2bcef75f715661a9eba9a diff --git a/dfa/readfile.c b/dfa/readfile.c index 03a16f5..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-2009 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);