X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=dict%2Fdopen.c;h=28cec1c1d363319f7620bd254719f717442077cc;hp=513b98e83a2c3683d512f7fe05ef9edce4f1ebf4;hb=1c36b136d275beda5800fe1a36022b29195ab30b;hpb=a030c87bc444608639905eca95e29f84a4f1d991 diff --git a/dict/dopen.c b/dict/dopen.c index 513b98e..28cec1c 100644 --- a/dict/dopen.c +++ b/dict/dopen.c @@ -19,6 +19,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +#if HAVE_CONFIG_H +#include +#endif #include #include #if HAVE_UNISTD_H @@ -73,7 +76,7 @@ Dict_BFile dict_bf_open(BFiles bfs, const char *name, int block_size, int cache, int rw) { Dict_BFile dbf; - + dbf = (Dict_BFile) xmalloc(sizeof(*dbf)); dbf->bf = bf_open(bfs, name, block_size, rw); if (!dbf->bf)