diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-04-09 20:05:15 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-04-09 20:05:15 +0000 |
commit | 0c5bd57698c9fe44b7d167484d87383cc7cb3363 (patch) | |
tree | b58769158f5400f66fa45495592afb73ea2acf99 | |
parent | 7409281e3412000e9f6a325a2aeef73342b18f88 (diff) | |
download | tinyproxy-0c5bd57698c9fe44b7d167484d87383cc7cb3363.tar.gz tinyproxy-0c5bd57698c9fe44b7d167484d87383cc7cb3363.zip |
Added more include logic code to be more portable.
Diffstat (limited to '')
-rw-r--r-- | src/hashmap.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/hashmap.c b/src/hashmap.c index f4553fd..74af7a9 100644 --- a/src/hashmap.c +++ b/src/hashmap.c @@ -1,4 +1,4 @@ -/* $Id: hashmap.c,v 1.2 2002-04-09 16:28:13 rjkaes Exp $ +/* $Id: hashmap.c,v 1.3 2002-04-09 20:05:15 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,7 +30,12 @@ #endif #include <sys/types.h> -#include <stdint.h> +#if defined(HAVE_STDINT_H) +# include <stdint.h> +#endif +#if defined(HAVE_INTTYPES_H) +# include <inttypes.h> +#endif #if defined(HAVE_CTYPE_H) # include <ctype.h> |