aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libibex/ChangeLog5
-rw-r--r--libibex/hash.c1
-rw-r--r--libibex/wordindex.c2
3 files changed, 8 insertions, 0 deletions
diff --git a/libibex/ChangeLog b/libibex/ChangeLog
index 5b17e39148..f4ed9f5f28 100644
--- a/libibex/ChangeLog
+++ b/libibex/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-30 Kjartan Maraas <kmaraas@gnome.org>
+
+ * hash.c: #include <stdlib.h> to remove warning.
+ * wordindex.c: #include <stdlib.h> and <string.h>.
+
2000-10-26 Not Zed <NotZed@HelixCode.com>
* block.c (ibex_block_cache_open): Use IBEX_VERSION rather than
diff --git a/libibex/hash.c b/libibex/hash.c
index ccebae2ac8..f79ee8f55e 100644
--- a/libibex/hash.c
+++ b/libibex/hash.c
@@ -23,6 +23,7 @@
/* hash based index mechanism */
#include <stdio.h>
+#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/libibex/wordindex.c b/libibex/wordindex.c
index 43a91f4342..3cee391668 100644
--- a/libibex/wordindex.c
+++ b/libibex/wordindex.c
@@ -30,6 +30,8 @@ of words, and could then be discarded (:flush()).
*/
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>