diff options
| author | Sam Varshavchik | 2021-05-21 21:11:51 -0400 | 
|---|---|---|
| committer | Sam Varshavchik | 2021-05-21 21:11:51 -0400 | 
| commit | 142f42378608e593eb36ceb33895db99948427aa (patch) | |
| tree | fc089285268a8fe3c8768cd7482fb50393f49354 /md5 | |
| parent | 34b6dbb743654fdb6edccf101c4da7e671b7a92d (diff) | |
| download | courier-libs-142f42378608e593eb36ceb33895db99948427aa.tar.bz2 | |
-Wall and -Werror fixes
Diffstat (limited to 'md5')
| -rw-r--r-- | md5/configure.ac | 12 | ||||
| -rw-r--r-- | md5/md5.h | 3 | 
2 files changed, 12 insertions, 3 deletions
| diff --git a/md5/configure.ac b/md5/configure.ac index 0f53ceb..4a90c95 100644 --- a/md5/configure.ac +++ b/md5/configure.ac @@ -35,7 +35,7 @@ dnl Checks for libraries.  dnl Checks for header files.  AC_HEADER_STDC -AC_CHECK_HEADERS(sys/types.h) +AC_CHECK_HEADERS(sys/types.h stdint.h)  AC_ARG_WITH(int32, @@ -49,8 +49,11 @@ AC_ARG_WITH(int32,  #if HAVE_SYS_TYPES_H  #include	<sys/types.h>  #endif +#if HAVE_STDINT_H +#include	<stdint.h> +#endif +uint32_t i;  		],[ -			uint32_t	i=0;  		], [ AC_MSG_RESULT(yes) ; int32="uint32_t"], [  		AC_MSG_RESULT(no) @@ -60,8 +63,11 @@ AC_ARG_WITH(int32,  #if HAVE_SYS_TYPES_H  #include	<sys/types.h>  #endif +#if HAVE_STDINT_H +#include	<stdint.h> +#endif +u_int32_t	i;  			],[ -				u_int32_t	i=0;  			], [AC_MSG_RESULT(yes); int32="u_int32_t"],[  			AC_MSG_RESULT(no) @@ -24,6 +24,9 @@ extern "C" {  #include	<sys/types.h>  #endif +#if	HAVE_STDINT_H +#include	<stdint.h> +#endif  #define	MD5_DIGEST_SIZE	16  #define	MD5_BLOCK_SIZE	64 | 
