From 05a30292f9d2be63af3b4c27d5ae89801da602a2 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Tue, 23 Jul 2019 13:48:29 -0700 Subject: Enable largefile support Requires that config.h be included before other headers, since the macro _FILE_OFFSET_BITS changes the definitions of things like 'struct stat'. I chose to simply include it at the top of every C file and at immediately after the double-inclusion guards of every header. Signed-off-by: Matt Turner Signed-off-by: David Oberhollenzer --- include/data_writer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/data_writer.h') diff --git a/include/data_writer.h b/include/data_writer.h index a52b37f..7107868 100644 --- a/include/data_writer.h +++ b/include/data_writer.h @@ -2,6 +2,8 @@ #ifndef DATA_WRITER_H #define DATA_WRITER_H +#include "config.h" + #include "squashfs.h" #include "compress.h" #include "fstree.h" -- cgit v1.2.3