projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a309c2f
)
misc: Add Python.h header to pyevents.hh
author
Jason Lowe-Power
<jason@lowepower.com>
Fri, 10 Feb 2017 15:00:18 +0000
(10:00 -0500)
committer
Jason Lowe-Power
<jason@lowepower.com>
Fri, 10 Feb 2017 15:00:18 +0000
(10:00 -0500)
Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
src/python/swig/pyevent.hh
patch
|
blob
|
history
diff --git
a/src/python/swig/pyevent.hh
b/src/python/swig/pyevent.hh
index 270fc38699bf668d8b28faa639dd4ef724fa042c..9f2ce9ee7c9800930299ff28f28f740d5e6095d6 100644
(file)
--- a/
src/python/swig/pyevent.hh
+++ b/
src/python/swig/pyevent.hh
@@
-31,6
+31,8
@@
#ifndef __PYTHON_SWIG_PYEVENT_HH__
#define __PYTHON_SWIG_PYEVENT_HH__
+#include <Python.h>
+
#include "sim/eventq.hh"
#include "sim/init.hh"
#include "sim/sim_events.hh"