X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fmarcxml%2Ft2.c;h=7e956806c88ffdba179a326fbff66e7febf1fe67;hb=20e2d608e0cd383054e627db00264388affb58cd;hp=9f9d1b42189244b3d92a31dbe0acde402bddd005;hpb=6a0f9234f945bc4956e2bcef75f715661a9eba9a;p=idzebra-moved-to-github.git diff --git a/test/marcxml/t2.c b/test/marcxml/t2.c index 9f9d1b4..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-2009 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());