--- dctc-0.85.5.orig/src/gdl.h +++ dctc-0.85.5/src/gdl.h @@ -24,7 +24,11 @@ #ifndef __GDL_H__ #define __GDL_H__ +#ifndef WITH_GCRYPT #include +#else +#define MD4_DIGEST_LENGTH 16 +#endif typedef struct { --- dctc-0.85.5.orig/src/md_db.c +++ dctc-0.85.5/src/md_db.c @@ -31,7 +31,6 @@ #include #ifdef WITH_GCRYPT #include -#define MD4_DIGEST_LENGTH 16 #define MD4_ALGO(source,len,dest) gcry_md_hash_buffer(GCRY_MD_MD4,dest,source,len) #else #include --- dctc-0.85.5.orig/src/md_db.h +++ dctc-0.85.5/src/md_db.h @@ -24,7 +24,11 @@ #ifndef __MD_DB_H__ #define __MD_DB_H__ +#ifndef WITH_GCRYPT #include +#else +#define MD4_DIGEST_LENGTH 16 +#endif #define RECORD_BUSY 0x8000000