diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-04-09 16:28:13 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-04-09 16:28:13 +0000 |
commit | 2f54303d9876c34a72d9cd691d9bc05fe1bb75ed (patch) | |
tree | ab23216d87144c03799f3e7649d6cbc1354128e7 /src | |
parent | 3a787ecbfa569ed7d85d9d2424293260a72f126c (diff) | |
download | tinyproxy-2f54303d9876c34a72d9cd691d9bc05fe1bb75ed.tar.gz tinyproxy-2f54303d9876c34a72d9cd691d9bc05fe1bb75ed.zip |
Cleaned up the include lines to be slightly more portable (I hope.)
Diffstat (limited to '')
-rw-r--r-- | src/hashmap.c | 8 | ||||
-rw-r--r-- | 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> |