X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=data1%2Fd1_soif.c;h=3e0a81a32b72d5cef2b00a9918fe1ce01c161bdd;hp=8a1c02da983fe618e3d50a1eaab2022c457820ec;hb=dcda88860b03641b6900d43135ca769f005105e8;hpb=6a0f9234f945bc4956e2bcef75f715661a9eba9a diff --git a/data1/d1_soif.c b/data1/d1_soif.c index 8a1c02d..3e0a81a 100644 --- a/data1/d1_soif.c +++ b/data1/d1_soif.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 @@ -24,6 +24,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * concatenating the tag names at each level. */ +#if HAVE_CONFIG_H +#include +#endif #include #include @@ -75,7 +78,7 @@ char *data1_nodetosoif (data1_handle dh, data1_node *n, int select, int *len) char buf[128]; wrbuf_rewind(b); - + if (n->which != DATA1N_root) return 0; sprintf(buf, "@%s{\n", n->u.root.type);