dedup

deduplicating backup program
git clone git://git.2f30.org/dedup
Log | Files | Refs | README | LICENSE

commit 2bd17f0fc119a96101741081d04a0d236bc96861
parent 873f8140b3c1861e5baa5c2dd93f83dfb1d1bc2a
Author: sin <sin@2f30.org>
Date:   Fri, 26 Apr 2019 15:46:17 +0100

Include some needed headers in bcompat on *BSD

Diffstat:
Mbcompat.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/bcompat.c b/bcompat.c @@ -11,6 +11,9 @@ punchhole(int fd, off_t offset, off_t len) return fallocate(fd, mode, offset, len); } #else +#include <sys/types.h> +#include <unistd.h> + int punchhole(int fd, off_t offset, off_t len) {