#ifndef __CLTYPES_H
#define __CLTYPES_H
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef HAVE_STDINT_H
#include <stdint.h>
#elif defined HAVE_SYS_INT_TYPES_H
#include <sys/int_types.h>
#elif defined HAVE_INTTYPES_H
#include <inttypes.h>
#else
typedef unsigned char uint8_t; typedef signed char int8_t;
# if SIZEOF_INT == 2
typedef unsigned int uint16_t; typedef signed int int16_t;
# elif SIZEOF_SHORT == 2
typedef unsigned short uint16_t; typedef signed short int16_t;
# else
# error unable to typedef int16_t from either int or short
typedef unsigned short uint16_t; typedef signed short int16_t;
# endif
# if SIZEOF_INT == 4
typedef unsigned int uint32_t; typedef signed int int32_t;
# elif SIZEOF_LONG == 4
typedef unsigned long uint32_t; typedef signed long int32_t;
# else
# error unable to typedef int32_t from either int or long
typedef unsigned long uint32_t; typedef signed long int32_t;
# endif
#endif
#if __INTERIX
#ifdef __GNUC__
typedef unsigned long long uint64_t;
#elif MSC_VER
typedef unsigned __int64 uint64_t;
#endif/*__GNUC__*/
#endif
#endif