diff options
author | Matt Turner <mattst88@gmail.com> | 2019-07-23 13:48:29 -0700 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-24 09:16:16 +0200 |
commit | 05a30292f9d2be63af3b4c27d5ae89801da602a2 (patch) | |
tree | f9f596d38b05889dbcb83f9df5c9bcda7dbe48c5 /mkfs/mkfs.h | |
parent | d6f15cb9b054ed76b5bee2e6924d4b0b2a5e52ae (diff) |
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 <mattst88@gmail.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'mkfs/mkfs.h')
-rw-r--r-- | mkfs/mkfs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mkfs/mkfs.h b/mkfs/mkfs.h index 21a308b..3576c12 100644 --- a/mkfs/mkfs.h +++ b/mkfs/mkfs.h @@ -2,6 +2,8 @@ #ifndef MKFS_H #define MKFS_H +#include "config.h" + #include "meta_writer.h" #include "data_writer.h" #include "highlevel.h" @@ -9,7 +11,6 @@ #include "compress.h" #include "id_table.h" #include "fstree.h" -#include "config.h" #include "util.h" #include <getopt.h> |