Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix Windows build
authorGabriel Corona <gabriel.corona@loria.fr>
Tue, 9 Jun 2015 15:54:37 +0000 (17:54 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Tue, 9 Jun 2015 15:54:37 +0000 (17:54 +0200)
include/xbt/str.h
src/simix/smx_context.c

index bd4f575..72acbe5 100644 (file)
@@ -9,6 +9,7 @@
 #ifndef XBT_STR_H
 #define XBT_STR_H
 
 #ifndef XBT_STR_H
 #define XBT_STR_H
 
+#include <stdint.h> /* ssize_t */
 #include <stdarg.h>             /* va_* */
 #include "xbt/misc.h"
 #include "xbt/dynar.h"
 #include <stdarg.h>             /* va_* */
 #include "xbt/misc.h"
 #include "xbt/dynar.h"
index 95c0ae8..5bcfdf9 100644 (file)
@@ -27,7 +27,9 @@
 #define _aligned_free  __mingw_aligned_free 
 #endif //MINGW
 
 #define _aligned_free  __mingw_aligned_free 
 #endif //MINGW
 
-
+#if defined(_XBT_WIN32)
+#include <malloc.h>
+#endif
 
 #ifdef HAVE_VALGRIND_VALGRIND_H
 # include <valgrind/valgrind.h>
 
 #ifdef HAVE_VALGRIND_VALGRIND_H
 # include <valgrind/valgrind.h>