1.1 --- a/lib/config.h Sun Mar 24 17:53:21 2019 +0100
1.2 +++ b/lib/config.h Sun Mar 24 18:51:05 2019 +0100
1.3 @@ -1,3 +1,7 @@
1.4 +#include <sys/types.h>
1.5 +
1.6 +/* Definitions based on the current status of L4Re. */
1.7 +
1.8 #define HAVE_ERRNO_H 1
1.9 #define HAVE_EXT2_IOCTLS 1
1.10 #define HAVE_FALLOCATE 1
1.11 @@ -34,12 +38,7 @@
1.12 #define HAVE_SYS_TYPES_H 1
1.13 #define HAVE_UNISTD_H 1
1.14 #define HAVE_VALLOC 1
1.15 -#define SIZEOF_LONG 4
1.16 -#define SIZEOF_LONG_LONG 8
1.17 -#define SIZEOF_LONG_LONG 8
1.18 -#define SIZEOF_OFF_T 4
1.19 #define TLS __thread
1.20 -#define VERSION "0.14.1"
1.21
1.22 #if 0
1.23 #define HAVE_LINUX_FALLOC_H 1
1.24 @@ -52,3 +51,13 @@
1.25 #define HAVE_SETMNTENT 1
1.26 #define HAVE_SYS_PRCTL_H 1
1.27 #endif
1.28 +
1.29 +/* libext2fs metadata. */
1.30 +
1.31 +#define VERSION "0.14.1"
1.32 +
1.33 +/* Machine-specific definitions. See <bits/types.h> and <bits/typesizes.h>. */
1.34 +
1.35 +#define SIZEOF_LONG (__WORDSIZE / 8)
1.36 +#define SIZEOF_LONG_LONG 8
1.37 +#define SIZEOF_OFF_T (__WORDSIZE / 8)