mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-131238: Add explicit includes to pycore headers (#131257)
This commit is contained in:
parent
0453e494b6
commit
978e37bb5f
23 changed files with 80 additions and 45 deletions
|
@ -3,11 +3,13 @@
|
|||
#include "Python.h"
|
||||
#include "pycore_call.h" // _PyObject_CallNoArgs()
|
||||
#include "pycore_runtime.h" // _PyRuntime
|
||||
#include "pycore_unicodeobject.h" // _PyUnicode_AsUTF8String()
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h> // isatty()
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(HAVE_GETC_UNLOCKED) && !defined(_Py_MEMORY_SANITIZER)
|
||||
/* clang MemorySanitizer doesn't yet understand getc_unlocked. */
|
||||
# define GETC(f) getc_unlocked(f)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue