fixed header for md5 funcs and md5.c inclusion in griffin

This commit is contained in:
Andre Leiradella 2016-08-30 23:27:47 +01:00
parent 98c1300dbe
commit 8926a4b077
2 changed files with 8 additions and 3 deletions

View File

@ -119,11 +119,17 @@ ACHIEVEMENTS
#endif
#include "../libretro-common/formats/json/jsonsax.c"
#include "../libretro-common/utils/md5.c"
#include "../network/net_http_special.c"
#include "../cheevos.c"
#endif
/*============================================================
MD5
============================================================ */
#if (defined(HAVE_CHEEVOS) && defined(HAVE_THREADS)) || (defined(HAVE_HTTPSERVER) && defined(HAVE_ZLIB))
#include "../libretro-common/utils/md5.c"
#endif
/*============================================================
CHEATS
============================================================ */

View File

@ -807,8 +807,7 @@ static void mg_snprintf(const struct mg_connection *conn,
/*#define vsnprintf DO_NOT_USE_THIS_FUNCTION__USE_mg_vsnprintf*/
#endif
#define MD5_STATIC static
#include "utils/md5.h"
#include <rhash.h>
/* Darwin prior to 7.0 and Win32 do not have socklen_t */
#ifdef NO_SOCKLEN_T