mirror of
https://github.com/borgbackup/borg.git
synced 2026-05-28 04:03:21 -04:00
include unistd.h in _chunker.c
With Python 3.13, Python.h no longer includes the <unistd.h> standard header file: https://docs.python.org/3.13/whatsnew/3.13.html#id8
This commit is contained in:
parent
d25cc1b0d1
commit
c350c1b36d
1 changed files with 3 additions and 0 deletions
|
|
@ -1,5 +1,8 @@
|
|||
#include <Python.h>
|
||||
#include <fcntl.h>
|
||||
#if !defined(_MSC_VER)
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
/* Cyclic polynomial / buzhash
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue