changeset 7788325d6855 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=7788325d6855
description:
misc: Add Python.h header to pyevents.hh
Signed-off-by: Jason Lowe-Power <[email protected]>
diffstat:
src/python/swig/pyevent.hh | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r b20a1364e019 -r 7788325d6855 src/python/swig/pyevent.hh
--- a/src/python/swig/pyevent.hh Thu Feb 09 19:15:51 2017 -0500
+++ b/src/python/swig/pyevent.hh Fri Feb 10 10:00:18 2017 -0500
@@ -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"
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev