summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
authorJason Lowe-Power <jason@lowepower.com>2017-02-10 10:00:18 -0500
committerJason Lowe-Power <jason@lowepower.com>2017-02-10 10:00:18 -0500
commit76004f08f26763cd5c1c9053d7981734db74fbd6 (patch)
treec3f19f063b945f2e76d746c09c8b48469f9f30e3 /src/python
parenta309c2f343bdebbfde442dcaf1c1812051287fd2 (diff)
downloadgem5-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')
-rw-r--r--src/python/swig/pyevent.hh2
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"