summaryrefslogtreecommitdiff
path: root/Include/Python.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/Python.h')
-rw-r--r--Include/Python.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Include/Python.h b/Include/Python.h
index d5ac13e299..eb5ea28b27 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -135,6 +135,11 @@ PyAPI_FUNC(wchar_t *) _Py_char2wchar(char *);
PyAPI_FUNC(char*) _Py_wchar2char(const wchar_t *text);
PyAPI_FUNC(FILE *) _Py_wfopen(const wchar_t *path, const wchar_t *mode);
+/* _Py_stat lives in import.c */
+#ifdef HAVE_STAT
+int _Py_stat(PyObject *unicode, struct stat *statbuf);
+#endif
+
#ifdef __cplusplus
}
#endif