GH-110749: fix unistd.h import in file_tokenizer.c (#110750)

This commit is contained in:
Filipe Laíns 2023-10-12 06:52:13 +01:00 committed by GitHub
parent 5257ade0bc
commit 23645420dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -1,13 +1,13 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h> // read()
#endif
#include "Python.h" #include "Python.h"
#include "pycore_call.h" #include "pycore_call.h"
#include "pycore_import.h" #include "pycore_import.h"
#include "pycore_fileutils.h" #include "pycore_fileutils.h"
#include "errcode.h" #include "errcode.h"
#ifdef HAVE_UNISTD_H
# include <unistd.h> // lseek(), read()
#endif
#include "helpers.h" #include "helpers.h"
#include "../lexer/state.h" #include "../lexer/state.h"
#include "../lexer/lexer.h" #include "../lexer/lexer.h"