From 23645420dcc4f3b7b2ec4045ef6ac126c37a98c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filipe=20La=C3=ADns?= Date: Thu, 12 Oct 2023 06:52:13 +0100 Subject: [PATCH] GH-110749: fix unistd.h import in file_tokenizer.c (#110750) --- Parser/tokenizer/file_tokenizer.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Parser/tokenizer/file_tokenizer.c b/Parser/tokenizer/file_tokenizer.c index 05ab5a02f53..2750527da48 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"