libselinux: use $(HOST_MAKE_ENV) when calling $(MAKE)
[buildroot-gz.git] / package / cramfs / 0003-fix-missing-types.patch
blob896110011ee1d67d0b35f5bc6aa34ecd09f472f2
1 mkcramfs; loff_t is guarded by _GNU_SOURCE
3 Although already properly done in cramfsck, it was missing in mkcramfs.
5 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
7 diff -durN cramfs-1.1.orig/mkcramfs.c cramfs-1.1/mkcramfs.c
8 --- cramfs-1.1.orig/mkcramfs.c 2015-08-05 22:31:16.830543096 +0200
9 +++ cramfs-1.1/mkcramfs.c 2015-08-05 22:33:33.136289744 +0200
10 @@ -22,6 +22,7 @@
11 * If you change the disk format of cramfs, please update fs/cramfs/README.
14 +#define _GNU_SOURCE
15 #include <sys/types.h>
16 #include <stdio.h>
17 #include <sys/stat.h>