--- src/membergroup.cpp.orig	2015-01-03 22:38:57 UTC
+++ src/membergroup.cpp
@@ -28,6 +28,7 @@
 #include "docparser.h"
 #include "marshal.h"
 #include "entry.h"
+#include <sys/types.h>
 #include "md5.h"
 
 //static QCString idToName(int id)
@@ -307,12 +308,10 @@ void MemberGroup::setInGroup(bool b)
 
 QCString MemberGroup::anchor() const
 {
-  uchar md5_sig[16];
   QCString sigStr(33);
   QCString locHeader = grpHeader;
   if (locHeader.isEmpty()) locHeader="[NOHEADER]";
-  MD5Buffer((const unsigned char *)locHeader.data(),locHeader.length(),md5_sig);
-  MD5SigToString(md5_sig,sigStr.rawData(),33);
+  MD5Data((const unsigned char *)locHeader.data(),locHeader.length(),sigStr.rawData());
   return "amgrp"+sigStr;
 }
 
