]> err.no Git - util-linux/commit
fallocate: fix build failure with old linux headers
authorMike Frysinger <vapier@gentoo.org>
Sun, 3 Oct 2010 20:00:09 +0000 (16:00 -0400)
committerKarel Zak <kzak@redhat.com>
Thu, 7 Oct 2010 07:49:01 +0000 (09:49 +0200)
commitfac8b4bd78cd0f33cf71f4a8525f2f56b5e6b3f2
treef3dd0446b2b654f0270e324f59f79750430aa632
parent236acf2d27b8f6e1de11f0fb35c78756837a6700
fallocate: fix build failure with old linux headers

If linux/falloc.h does not exist, the build system still enables the
fallocate util, but ultimately fails when it tries to include the
header and use a define from it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
sys-utils/fallocate.c