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.
On OS X systems, the compilation of e2fsprogs fails at subst.c due to a missing sys/stat.h include: subst.c:333:14: error: variable has incomplete type 'struct stat' struct stat stbuf; ^ subst.c:333:9: note: forward declaration of 'struct stat' struct stat stbuf; ^ subst.c:392:8: warning: implicit declaration of function 'fstat' is invalid in C99 [-Wimplicit-function-declaration] if (fstat(fd, &stbuf) == 0) { ^ subst.c:438:12: warning: implicit declaration of function 'fchmod' is invalid in C99 [-Wimplicit-function-declaration] (void) fchmod(ofd, 0444); ^ 2 warnings and 1 error generated. make[3]: *** [subst.o] Error 1 Declare the nescessary HAVE_SYS_STAT_H macro to include the required header in order to avoid the undeclared stat structure. Tested-By: David Thornley <david.thornley@touchstargroup.com> Signed-off-by: Jo-Philipp Wich <jo@mein.io> |
8 years ago | |
---|---|---|
.. | ||
admswconfig | 8 years ago | |
bsdiff | 8 years ago | |
busybox | 8 years ago | |
bzip2 | 9 years ago | |
e2fsprogs | 8 years ago | |
fbtest | 9 years ago | |
fuse | 9 years ago | |
hostap-utils | 10 years ago | |
jsonfilter | 8 years ago | |
lua | 8 years ago | |
mdadm | 8 years ago | |
mkelfimage | 9 years ago | |
nand-utils | 8 years ago | |
nvram | 8 years ago | |
oseama | 8 years ago | |
otrx | 8 years ago | |
px5g | 8 years ago | |
px5g-standalone | 9 years ago | |
spidev_test | 8 years ago | |
ubi-utils | 8 years ago | |
ugps | 8 years ago | |
usbmode | 8 years ago | |
usbreset | 10 years ago | |
usbutils | 8 years ago | |
util-linux | 8 years ago | |
xfsprogs | 9 years ago |