buffer/buffer-largefile.patch

15 lines
373 B
Diff
Raw Permalink Normal View History

diff -Nur buffer-1.19/buffer.c buffer-1.19-largefile/buffer.c
--- buffer-1.19/buffer.c 2016-02-07 20:10:22.272433790 +0100
+++ buffer-1.19-largefile/buffer.c 2016-02-07 20:12:08.612429023 +0100
@@ -113,6 +113,10 @@
* Initial revision
*
*/
+
+#define _FILE_OFFSET_BITS 64
+#define _LARGEFILE_SOURCE 1
+
#include <unistd.h>
#include <stdio.h>
#include <signal.h>