You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
buffer/buffer-largefile.patch

15 lines
373 B
Diff

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>