Skip to content

Commit 2364542

Browse files
authored
GH-110749: fix unistd.h import in file_tokenizer.c (#110750)
1 parent 5257ade commit 2364542

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Parser/tokenizer/file_tokenizer.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
#ifdef HAVE_UNISTD_H
2-
# include <unistd.h> // read()
3-
#endif
4-
51
#include "Python.h"
62
#include "pycore_call.h"
73
#include "pycore_import.h"
84
#include "pycore_fileutils.h"
95
#include "errcode.h"
106

7+
#ifdef HAVE_UNISTD_H
8+
# include <unistd.h> // lseek(), read()
9+
#endif
10+
1111
#include "helpers.h"
1212
#include "../lexer/state.h"
1313
#include "../lexer/lexer.h"

0 commit comments

Comments
 (0)