X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=util%2Ftstres.c;h=30566a611dcdd936d12e55140c702219291453ef;hp=e3924110a62c5f8585fc502c347eea6e39a00b78;hb=00d6544408e2de88277e091fb7f8f4dfe3949558;hpb=a030c87bc444608639905eca95e29f84a4f1d991 diff --git a/util/tstres.c b/util/tstres.c index e392411..30566a6 100644 --- a/util/tstres.c +++ b/util/tstres.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 #include #include @@ -61,7 +64,7 @@ static void tst_res_read_file(void) const char *v; char path[1024]; int r; - + yaz_snprintf(path, sizeof(path), "%s/tstres.cfg", get_srcdir()); r = res_read_file(res, path); YAZ_CHECK_EQ(r, ZEBRA_OK);