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 for libidzebra-2.0-dev
[idzebra-moved-to-github.git]
/
dict
/
open.c
diff --git
a/dict/open.c
b/dict/open.c
index
66f7ff3
..
1df9d98
100644
(file)
--- a/
dict/open.c
+++ b/
dict/open.c
@@
-19,6
+19,9
@@
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
@@
-38,9
+41,9
@@
void dict_clean(Dict dict)
dict->head.freelist = 0;
dict->head.page_size = page_size;
dict->head.compact_flag = compact_flag;
dict->head.freelist = 0;
dict->head.page_size = page_size;
dict->head.compact_flag = compact_flag;
-
+
/* create header with information (page 0) */
/* create header with information (page 0) */
- if (dict->rw)
+ if (dict->rw)
dict_bf_newp(dict->dbf, 0, &head_buf, page_size);
}
dict_bf_newp(dict->dbf, 0, &head_buf, page_size);
}