From 13c6d1b7108a6807d6b33c78e53eee1434d8f472 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Sun, 5 Nov 2023 11:48:16 +0100 Subject: [PATCH] include unistd.h in _chunker.c With Python 3.13, Python.h no longer includes the standard header file: https://docs.python.org/3.13/whatsnew/3.13.html#id8 --- src/borg/_chunker.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/borg/_chunker.c b/src/borg/_chunker.c index dd141e87b..e5d9b54f8 100644 --- a/src/borg/_chunker.c +++ b/src/borg/_chunker.c @@ -1,5 +1,8 @@ #include #include +#if !defined(_MSC_VER) +# include +#endif /* Cyclic polynomial / buzhash