소스 검색

Merge pull request #7905 from FelixSchwarz/py313-unistdh

Python 3.13: include `unistd.h` in `_chunker.c`
TW 1 년 전
부모
커밋
0da4fff38b
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/borg/_chunker.c

+ 3 - 0
src/borg/_chunker.c

@@ -1,5 +1,8 @@
 #include <Python.h>
 #include <fcntl.h>
+#if !defined(_MSC_VER)
+#   include <unistd.h>
+#endif
 
 /* Cyclic polynomial / buzhash