Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
reduce the amount of includes to speed up recompilations
[simgrid.git] / src / xbt / xbt_sha.c
index e2973ca..baa24c3 100644 (file)
@@ -15,6 +15,7 @@
 
 #include "xbt/sysdep.h"
 #include "xbt/hash.h"
+#include <stdio.h> /* sprintf */
 
 struct s_xbt_sha_ {
   unsigned int hash[5];
@@ -177,7 +178,7 @@ static void sha_calculate(xbt_sha_t sha)
 /* ************* */
 #ifdef SIMGRID_TEST
 #include "xbt/hash.h"
-#include "portable.h"           /* hexa_str */
+#include "src/portable.h"           /* hexa_str */
 
 static char *mycmp(const char *p1, const char *p2, size_t n)
 {