--- src/memberdef.cpp.orig	2015-01-03 22:38:57 UTC
+++ src/memberdef.cpp
@@ -17,6 +17,7 @@
 #include <qglobal.h>
 #include <qregexp.h>
 #include <assert.h>
+#include <sys/types.h>
 #include "md5.h"
 #include "memberdef.h"
 #include "membername.h"
@@ -3326,11 +3327,9 @@ void MemberDef::setAnchor()
   }
 
   // convert to md5 hash
-  uchar md5_sig[16];
   QCString sigStr(33);
-  MD5Buffer((const unsigned char *)memAnchor.data(),memAnchor.length(),md5_sig);
   //printf("memAnchor=%s\n",memAnchor.data());
-  MD5SigToString(md5_sig,sigStr.rawData(),33);
+  MD5Data((const unsigned char *)memAnchor.data(),memAnchor.length(),sigStr.rawData());
   m_impl->anc = "a"+sigStr;
 }
 
