X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fmarcxml%2Ft2.c;h=7e956806c88ffdba179a326fbff66e7febf1fe67;hb=20e2d608e0cd383054e627db00264388affb58cd;hp=b2b7f722b51198bd19837bb41b16c952046badc7;hpb=a66b7d79383ae700f3358731eecfe2aafed0e90d;p=idzebra-moved-to-github.git diff --git a/test/marcxml/t2.c b/test/marcxml/t2.c index b2b7f72..7e95680 100644 --- a/test/marcxml/t2.c +++ b/test/marcxml/t2.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1994-2010 Index Data + Copyright (C) 1994-2011 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 @@ -17,6 +17,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if HAVE_CONFIG_H +#include +#endif #include "testlib.h" static void tst(int argc, char **argv) @@ -30,7 +33,7 @@ static void tst(int argc, char **argv) zebra_init(zh); zebra_set_resource(zh, "recordType", "grs.marcxml.record"); - + YAZ_CHECK(zebra_begin_trans(zh, 1) == ZEBRA_OK); sprintf(path, "%.200s/sample-marc", tl_get_srcdir());