X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=bfile%2Ftstmfile1.c;h=ad3cd93f23f6a7eb6a930cc50339ec85694a35dc;hp=6b5e7b8008a854b1d567b7155d5b55d9c5a49ce3;hb=c3ff843e467932c6027a8b3b2ebda7b44612447e;hpb=97a7adeb9e5059463f039495cc01cfa448463a27 diff --git a/bfile/tstmfile1.c b/bfile/tstmfile1.c index 6b5e7b8..ad3cd93 100644 --- a/bfile/tstmfile1.c +++ b/bfile/tstmfile1.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1995-2008 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 @@ -48,7 +51,7 @@ void tst2(void) YAZ_CHECK(f); YAZ_CHECK_EQ(mf_read(f, 0, 0, 0, buf), 0); - + memset(buf, 'a', BLOCK_SIZE); YAZ_CHECK_EQ(mf_write(f, 0, 0, 0, buf), 0);