misc: Add Python.h header to pyevents.hh
authorJason Lowe-Power <jason@lowepower.com>
Fri, 10 Feb 2017 15:00:18 +0000 (10:00 -0500)
committerJason 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

index 270fc38699bf668d8b28faa639dd4ef724fa042c..9f2ce9ee7c9800930299ff28f28f740d5e6095d6 100644 (file)
@@ -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"