summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <klto@zhaw.ch>2009-04-06 08:20:09 +0200
committerTobias Klauser <klto@zhaw.ch>2009-04-06 08:20:09 +0200
commit1ed419bfccdac6018edf9dc3c79d4d9e06b3b529 (patch)
treeb8ef0d1ea333debd13467b95bb9e6fab2dc5cc60
parent41d2b1e8332e80b71e3d8b96c94d0407f39d6a66 (diff)
Large file support for inotail
Patch by hondza <sedaj2@gmail.com> 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.
-rw-r--r--inotail.c1
1 files changed, 1 insertions, 0 deletions
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 <stdio.h>