summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"