summaryrefslogtreecommitdiff
path: root/src/python/swig/core.i
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/swig/core.i')
-rw-r--r--src/python/swig/core.i5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/python/swig/core.i b/src/python/swig/core.i
index ffaf84476..ed520e17a 100644
--- a/src/python/swig/core.i
+++ b/src/python/swig/core.i
@@ -32,12 +32,11 @@
%module(package="m5.internal") core
%{
-#include "python/swig/pyobject.hh"
-
#include "base/misc.hh"
#include "base/random.hh"
#include "base/socket.hh"
#include "base/types.hh"
+#include "python/swig/pyobject.hh"
#include "sim/core.hh"
extern const char *compileDate;
@@ -64,8 +63,8 @@ seedRandom(uint64_t seed)
%}
-%include <stdint.i>
%include <std_string.i>
+%include <stdint.i>
%include "base/types.hh"