summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hashmap.c8
-rw-r--r--src/vector.c3
2 files changed, 6 insertions, 5 deletions
diff --git a/src/hashmap.c b/src/hashmap.c
index 62badc1..f4553fd 100644
--- a/src/hashmap.c
+++ b/src/hashmap.c
@@ -1,4 +1,4 @@
-/* $Id: hashmap.c,v 1.1 2002-04-07 21:30:02 rjkaes Exp $
+/* $Id: hashmap.c,v 1.2 2002-04-09 16:28:13 rjkaes Exp $
*
* A hashmap implementation. The keys are case-insensitive NULL terminated
* strings, and the data is arbitrary lumps of data. Copies of both the
@@ -30,9 +30,11 @@
#endif
#include <sys/types.h>
-#include <inttypes.h>
+#include <stdint.h>
-#include <ctype.h>
+#if defined(HAVE_CTYPE_H)
+# include <ctype.h>
+#endif
#include <errno.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/vector.c b/src/vector.c
index fe6a67d..044b085 100644
--- a/src/vector.c
+++ b/src/vector.c
@@ -1,4 +1,4 @@
-/* $Id: vector.c,v 1.1 2002-04-07 21:29:23 rjkaes Exp $
+/* $Id: vector.c,v 1.2 2002-04-09 16:28:13 rjkaes Exp $
*
* A vector implementation. The vector can be of an arbritrary length, and
* the data for each entry is an lump of data (the size is stored in the
@@ -26,7 +26,6 @@
#endif
#include <sys/types.h>
-#include <inttypes.h>
#include <errno.h>
#include <stdlib.h>