summaryrefslogtreecommitdiffstats
path: root/Include/genobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/genobject.h')
-rw-r--r--Include/genobject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/genobject.h b/Include/genobject.h
index 16b9833..6755963 100644
--- a/Include/genobject.h
+++ b/Include/genobject.h
@@ -8,6 +8,8 @@
extern "C" {
#endif
+#include "pystate.h" /* _PyErr_StackItem */
+
struct _frame; /* Avoid including frameobject.h */
/* _PyGenObject_HEAD defines the initial segment of generator