X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fmarcxml%2Ft2.c;h=2824f388355b567f4e5871957f39c4a34fdf9872;hb=00d6544408e2de88277e091fb7f8f4dfe3949558;hp=80fe5a386161a740fad32481640307f47560af51;hpb=89d16cf15eda0e4802d18b8ad09bd3653508ebfc;p=idzebra-moved-to-github.git diff --git a/test/marcxml/t2.c b/test/marcxml/t2.c index 80fe5a3..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-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 @@ -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()); @@ -59,6 +62,7 @@ TL_MAIN /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab