Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r69210:87752dbcfa4c Date: 2014-02-19 19:09 +0100 http://bitbucket.org/pypy/pypy/changeset/87752dbcfa4c/
Log: Windows: need this include, otherwise the type 'off_t' is not defined, which confuses some extension modules diff --git a/pypy/module/cpyext/include/Python.h b/pypy/module/cpyext/include/Python.h --- a/pypy/module/cpyext/include/Python.h +++ b/pypy/module/cpyext/include/Python.h @@ -24,6 +24,7 @@ # include <limits.h> # endif # include <io.h> +# include <sys/types.h> /* for 'off_t' */ # define Py_DEPRECATED(VERSION_UNUSED) # ifdef Py_BUILD_CORE # define PyAPI_FUNC(RTYPE) __declspec(dllexport) RTYPE _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit