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
|
@ -1,8 +1,9 @@
|
|||
#include "Python.h"
|
||||
#include "pycore_call.h"
|
||||
#include "pycore_import.h"
|
||||
#include "pycore_fileutils.h"
|
||||
#include "errcode.h"
|
||||
#include "pycore_call.h" // _PyObject_CallNoArgs()
|
||||
#include "pycore_fileutils.h" // _Py_UniversalNewlineFgetsWithSize()
|
||||
#include "pycore_runtime.h" // _Py_ID()
|
||||
|
||||
#include "errcode.h" // E_NOMEM
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h> // lseek(), read()
|
||||
|
@ -13,6 +14,7 @@
|
|||
#include "../lexer/lexer.h"
|
||||
#include "../lexer/buffer.h"
|
||||
|
||||
|
||||
static int
|
||||
tok_concatenate_interactive_new_line(struct tok_state *tok, const char *line) {
|
||||
assert(tok->fp_interactive);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue