mirror of https://github.com/borgbackup/borg.git
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,5 +1,8 @@
|
||||||
#include <Python.h>
|
#include <Python.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
#if !defined(_MSC_VER)
|
||||||
|
# include <unistd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Cyclic polynomial / buzhash
|
/* Cyclic polynomial / buzhash
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue