diff options
Diffstat (limited to 'src/htscharset.c')
-rw-r--r-- | src/htscharset.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/htscharset.c b/src/htscharset.c index 48cef69..ad994a5 100644 --- a/src/htscharset.c +++ b/src/htscharset.c @@ -35,7 +35,17 @@ Please visit our Website: http://www.httrack.com #include "punycode.h" #include "htssafe.h" +#ifdef _WIN32 +#include <stddef.h> +typedef unsigned __int32 uint32_t; +typedef unsigned __int64 uint64_t; +#elif (defined(SOLARIS) || defined(sun) || defined(HAVE_INTTYPES_H) \ + || defined(BSD) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD_kernel__)) +#include <inttypes.h> +#else #include <stdint.h> +#endif +#include <stdarg.h> int hts_isStringAscii(const char *s, size_t size) { size_t i; |