소스 검색

Merge pull request #7956 from ThomasWaldmann/py313-unistdh-1.2

include unistd.h in _chunker.c
TW 1 년 전
부모
커밋
e50d26757c
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