Skip to content

Commit 0da4fff

Browse files
Merge pull request #7905 from FelixSchwarz/py313-unistdh
Python 3.13: include `unistd.h` in `_chunker.c`
2 parents d25cc1b + c350c1b commit 0da4fff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/borg/_chunker.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#include <Python.h>
22
#include <fcntl.h>
3+
#if !defined(_MSC_VER)
4+
# include <unistd.h>
5+
#endif
36

47
/* Cyclic polynomial / buzhash
58

0 commit comments

Comments
 (0)