Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add some missing #include
authorGabriel Corona <gabriel.corona@loria.fr>
Tue, 8 Dec 2015 13:39:27 +0000 (14:39 +0100)
committerGabriel Corona <gabriel.corona@loria.fr>
Tue, 8 Dec 2015 13:39:27 +0000 (14:39 +0100)
include/simgrid/simix.hpp
src/bindings/java/JavaContext.cpp
src/bindings/java/JavaContext.hpp
src/simix/BoostContext.cpp
src/simix/BoostContext.hpp
src/simix/Context.cpp
src/simix/RawContext.cpp
src/simix/ThreadContext.cpp
src/simix/UContext.cpp

index 3002a4b..1829bad 100644 (file)
@@ -7,6 +7,9 @@
 #ifndef SIMGRID_SIMIX_HPP
 #define SIMGRID_SIMIX_HPP
 
+#include <cstddef>
+
+#include <string>
 #include <utility>
 #include <memory>
 #include <functional>
index 51ae35b..586fd13 100644 (file)
@@ -6,6 +6,9 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
+#include <functional>
+#include <utility>
+
 #include <xbt/function_types.h>
 #include <simgrid/simix.h>
 #include <xbt/ex.h>
index 5649388..dfbf821 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef SIMGRID_JAVA_JAVA_CONTEXT_HPP
 #define SIMGRID_JAVA_JAVA_CONTEXT_HPP
 
+#include <functional>
+
 #include <jni.h>
 
 #include <xbt/misc.h>
index aa35075..b66da92 100644 (file)
@@ -8,6 +8,10 @@
 
 #include <cstdint>
 
+#include <functional>
+#include <utility>
+#include <vector>
+
 #include <boost/context/all.hpp>
 
 #include <xbt/log.h>
index d558d74..c2df0d1 100644 (file)
@@ -10,6 +10,7 @@
 #ifndef SIMGRID_SIMIX_BOOST_CONTEXT_HPP
 #define SIMGRID_SIMIX_BOOST_CONTEXT_HPP
 
+#include <functional>
 #include <vector>
 
 #include <xbt/parmap.h>
index e6eec95..7115e3a 100644 (file)
@@ -4,10 +4,11 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#include <vector>
-#include <string>
-#include <cstring>
+#include <cstdint>
+
 #include <memory>
+#include <functional>
+#include <utility>
 
 #include <simgrid/simix.hpp>
 
index 8aefa71..31a950f 100644 (file)
@@ -13,6 +13,9 @@
 
 #include <math.h>
 
+#include <utility>
+#include <functional>
+
 #include <xbt/log.h>
 #include <xbt/parmap.h>
 #include <xbt/dynar.h>
index de4e718..e676dc4 100644 (file)
@@ -4,6 +4,9 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
+#include <utility>
+#include <functional>
+
 #include "xbt/function_types.h"
 #include "smx_private.h"
 #include "src/portable.h"           /* loads context system definitions */
index d2ce507..6014eca 100644 (file)
@@ -8,6 +8,8 @@
 
 #include <stdarg.h>
 
+#include <functional>
+
 #include "xbt/parmap.h"
 #include "smx_private.h"
 #include "smx_private.hpp"