diff --git a/dtool/src/parser-inc/Python.h b/dtool/src/parser-inc/Python.h index f0c9d32511..d63928fdfe 100755 --- a/dtool/src/parser-inc/Python.h +++ b/dtool/src/parser-inc/Python.h @@ -25,4 +25,7 @@ class PyThreadState; typedef int Py_ssize_t; struct Py_buffer; +// This file defines PY_VERSION_HEX, which is used in some places. +#include "patchlevel.h" + #endif // PYTHON_H