From ded689d3ffbe7395df316df8c19cd3dd37aad628 Mon Sep 17 00:00:00 2001 From: rakshasa Date: Fri, 12 Mar 2010 10:29:11 +0000 Subject: [PATCH] * Fixed the linux fallocate detection script. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1143 e378c898-3ddf-0310-93e7-cc216c733640 --- scripts/checks.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/checks.m4 b/scripts/checks.m4 index 94f78612..b920c052 100644 --- a/scripts/checks.m4 +++ b/scripts/checks.m4 @@ -162,8 +162,9 @@ AC_DEFUN([TORRENT_CHECK_FALLOCATE], [ AC_COMPILE_IFELSE( [[#include + #include int main() { - fallocate(0, FALLOC_FL_KEEP_SIZE, 0, 0); + fallocate(0, FALLOC_FL_KEEP_SIZE, 0, 0); return 0; } ]],