summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sim/sim_object.hh5
-rw-r--r--src/sim/sim_object_params.hh2
2 files changed, 5 insertions, 2 deletions
diff --git a/src/sim/sim_object.hh b/src/sim/sim_object.hh
index ec565ce82..00bb3fee6 100644
--- a/src/sim/sim_object.hh
+++ b/src/sim/sim_object.hh
@@ -36,10 +36,11 @@
#ifndef __SIM_OBJECT_HH__
#define __SIM_OBJECT_HH__
-#include <map>
+#include <iostream>
#include <list>
+#include <map>
+#include <string>
#include <vector>
-#include <iostream>
#include "params/SimObject.hh"
#include "sim/serialize.hh"
diff --git a/src/sim/sim_object_params.hh b/src/sim/sim_object_params.hh
index 4179a37bf..5a629a949 100644
--- a/src/sim/sim_object_params.hh
+++ b/src/sim/sim_object_params.hh
@@ -36,6 +36,8 @@
struct PyObject;
#endif
+#include <string>
+
struct SimObjectParams
{
virtual ~SimObjectParams() {}