From 2f54303d9876c34a72d9cd691d9bc05fe1bb75ed Mon Sep 17 00:00:00 2001
From: Robert James Kaes <rjkaes@users.sourceforge.net>
Date: Tue, 9 Apr 2002 16:28:13 +0000
Subject: Cleaned up the include lines to be slightly more portable (I hope.)

---
 src/hashmap.c | 8 +++++---
 src/vector.c  | 3 +--
 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>
-- 
cgit v1.2.3