X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=dict%2Fclose.c;h=012f0368a5c6b84c2f61f41dede58da1eed9627d;hb=1ac398a3d8c593e1e361e696e26e8205587327b5;hp=714963bc841faa27691b5b0b269666f1a054ecb0;hpb=a89d8384ad975fdddb2aa56e8c27b689a5e23f96;p=idzebra-moved-to-github.git diff --git a/dict/close.c b/dict/close.c index 714963b..012f036 100644 --- a/dict/close.c +++ b/dict/close.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1994-2009 Index Data + Copyright (C) 1994-2011 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 @@ -19,6 +19,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +#if HAVE_CONFIG_H +#include +#endif #include #include #include @@ -36,7 +39,7 @@ int dict_close(Dict dict) void *head_buf; dict_bf_readp(dict->dbf, 0, &head_buf); memcpy(head_buf, &dict->head, sizeof(dict->head)); - dict_bf_touch(dict->dbf, 0); + dict_bf_touch(dict->dbf, 0); } dict_bf_close(dict->dbf); xfree(dict);