diff options
Diffstat (limited to 'crypthash.h')
-rw-r--r-- | crypthash.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/crypthash.h b/crypthash.h new file mode 100644 index 00000000..a2545b8e --- /dev/null +++ b/crypthash.h @@ -0,0 +1,27 @@ +#ifndef _CRYPTHASH_H +# define _CRYPTHASH_H + +# include "config.h" + + +# include <sys/types.h> +# if HAVE_INTTYPES_H +# include <inttypes.h> +# else +# if HAVE_STDINT_H +# include <stdint.h> +# endif +# endif + +/* POINTER defines a generic pointer type */ +typedef unsigned char *POINTER; + +# ifndef HAVE_UINT32_T +# if SIZEOF_INT == 4 +typedef unsigned int uint32_t; +# elif SIZEOF_LONG == 4 +typedef unsigned long uint32_t; +# endif +# endif + +#endif |