Skip to content

Commit

Permalink
Merge pull request #7905 from FelixSchwarz/py313-unistdh
Browse files Browse the repository at this point in the history
Python 3.13: include `unistd.h` in `_chunker.c`
  • Loading branch information
ThomasWaldmann committed Nov 5, 2023
2 parents d25cc1b + c350c1b commit 0da4fff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/borg/_chunker.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#include <Python.h>
#include <fcntl.h>
#if !defined(_MSC_VER)
# include <unistd.h>
#endif

/* Cyclic polynomial / buzhash
Expand Down

0 comments on commit 0da4fff

Please sign in to comment.