From: Filipe LaĆ­ns Date: Thu, 12 Oct 2023 05:52:13 +0000 (+0100) Subject: GH-110749: fix unistd.h import in file_tokenizer.c (#110750) X-Git-Tag: v3.13.0a1~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=23645420dcc4f3b7b2ec4045ef6ac126c37a98c2;p=thirdparty%2FPython%2Fcpython.git GH-110749: fix unistd.h import in file_tokenizer.c (#110750) --- diff --git a/Parser/tokenizer/file_tokenizer.c b/Parser/tokenizer/file_tokenizer.c index 05ab5a02f53b..2750527da484 100644 --- a/Parser/tokenizer/file_tokenizer.c +++ b/Parser/tokenizer/file_tokenizer.c @@ -1,13 +1,13 @@ -#ifdef HAVE_UNISTD_H -# include // read() -#endif - #include "Python.h" #include "pycore_call.h" #include "pycore_import.h" #include "pycore_fileutils.h" #include "errcode.h" +#ifdef HAVE_UNISTD_H +# include // lseek(), read() +#endif + #include "helpers.h" #include "../lexer/state.h" #include "../lexer/lexer.h"