build: fix issue with HAVE_FALLOCATE on centos5
commit7a9c524f15c73d66876854e4049c9d4032e22271
authorPádraig Brady <P@draigBrady.com>
Wed, 25 Jan 2017 11:09:03 +0000 (25 11:09 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 25 Jan 2017 18:24:29 +0000 (25 18:24 +0000)
treea74f56ea4172155fdd6162871b5d60cfd98c5b80
parentc974f835a52706c05444fcdd229f4fc670c76f47
build: fix issue with HAVE_FALLOCATE on centos5

* src/copy.c (punch_hole): Work around an empty definition
of HAVE_FALLOCATE which leads to a build error of:
"error: #if with no expression"
That was triggered by the inclusion of <linux/fs.h> in
commit v8.25-68-g89e1fef with kernel-headers-2.6.18.
Reported by Nelson H. F. Beebe
src/copy.c