diff --git a/src/python/swig/event.i b/src/python/swig/event.i index 0aae6bd0a..f8c37bb4f 100644 --- a/src/python/swig/event.i +++ b/src/python/swig/event.i @@ -77,9 +77,11 @@ %import "sim/serialize.hh" %include "base/types.hh" -%include "python/swig/pyevent.hh" %include "sim/eventq.hh" +// This must follow eventq.hh +%include "python/swig/pyevent.hh" + struct CountedDrainEvent : public Event { void setCount(int _count);