projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix snippets for non-ICU / seqno not updated
[idzebra-moved-to-github.git]
/
util
/
tstres.c
diff --git
a/util/tstres.c
b/util/tstres.c
index
e392411
..
c617afb
100644
(file)
--- a/
util/tstres.c
+++ b/
util/tstres.c
@@
-17,6
+17,9
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <string.h>
#include <stdlib.h>
#include <idzebra/res.h>
#include <string.h>
#include <stdlib.h>
#include <idzebra/res.h>
@@
-61,7
+64,7
@@
static void tst_res_read_file(void)
const char *v;
char path[1024];
int r;
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);
yaz_snprintf(path, sizeof(path), "%s/tstres.cfg", get_srcdir());
r = res_read_file(res, path);
YAZ_CHECK_EQ(r, ZEBRA_OK);