X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fmarcxml%2Ft2.c;h=2824f388355b567f4e5871957f39c4a34fdf9872;hb=5403eea61e14f91b1863c151cfa0f60561ca95ec;hp=dcc2bf73ee525496d74ae44aa6d5ef26fb96e47e;hpb=a030c87bc444608639905eca95e29f84a4f1d991;p=idzebra-moved-to-github.git diff --git a/test/marcxml/t2.c b/test/marcxml/t2.c index dcc2bf7..2824f38 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-2011 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 @@ -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());