From 1ed419bfccdac6018edf9dc3c79d4d9e06b3b529 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 6 Apr 2009 08:20:09 +0200 Subject: Large file support for inotail Patch by hondza Inotail fails to fstat() large files with "Error: Could not stat file '/large/file' (Value too large for defined data type)". Following patch makes it work. --- inotail.c | 1 + 1 file changed, 1 insertion(+) diff --git a/inotail.c b/inotail.c index 1162516..dca2605 100644 --- a/inotail.c +++ b/inotail.c @@ -21,6 +21,7 @@ * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#define _FILE_OFFSET_BITS 64 #define _GNU_SOURCE #include -- cgit v1.2.3-54-g00ecf