X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=data1%2Fd1_soif.c;h=fa814c564469efb7ed0e216cea1c7779a485233f;hb=20e2d608e0cd383054e627db00264388affb58cd;hp=26da8e2c68194dfb7872f11309e8cb372ed0209d;hpb=a030c87bc444608639905eca95e29f84a4f1d991;p=idzebra-moved-to-github.git diff --git a/data1/d1_soif.c b/data1/d1_soif.c index 26da8e2..fa814c5 100644 --- a/data1/d1_soif.c +++ b/data1/d1_soif.c @@ -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);