diff options
author | Jason Lowe-Power <jason@lowepower.com> | 2017-02-10 10:00:18 -0500 |
---|---|---|
committer | Jason Lowe-Power <jason@lowepower.com> | 2017-02-10 10:00:18 -0500 |
commit | 76004f08f26763cd5c1c9053d7981734db74fbd6 (patch) | |
tree | c3f19f063b945f2e76d746c09c8b48469f9f30e3 /src/python/swig | |
parent | a309c2f343bdebbfde442dcaf1c1812051287fd2 (diff) | |
download | gem5-76004f08f26763cd5c1c9053d7981734db74fbd6.tar.xz |
misc: Add Python.h header to pyevents.hh
Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/python/swig')
-rw-r--r-- | src/python/swig/pyevent.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/python/swig/pyevent.hh b/src/python/swig/pyevent.hh index 270fc3869..9f2ce9ee7 100644 --- 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" |