mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-19 03:06:35 +00:00
abec62a542
_LARGEFILE64_SOURCE has to be defined in the source, or CFLAGS can be used
to pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.
Fixes error in the form of:
restripe.c: In function 'restore_stripes':
restripe.c:758:43: error: 'off64_t' undeclared (first use in this function); did you mean 'off_t'?
758 | (off64_t)read_offset) {
| ^~~~~~~
| off_t
restripe.c:758:43: note: each undeclared identifier is reported only once for each function it appears in
restripe.c:758:51: error: expected ')' before 'read_offset'
758 | (off64_t)read_offset) {
| ^~~~~~~~~~~
| )
restripe.c:757:36: note: to match this '('
757 | if (lseek64(source, read_offset, 0) !=
| ^
make[3]: *** [Makefile:193: restripe.o] Error 1
Fixes:
|
||
---|---|---|
.. | ||
adb | ||
bcm27xx-userland | ||
bcm4908img | ||
bsdiff | ||
busybox | ||
bzip2 | ||
checkpolicy | ||
ct-bugcheck | ||
dtc | ||
e2fsprogs | ||
f2fs-tools | ||
fbtest | ||
fritz-tools | ||
jboot-tools | ||
jsonfilter | ||
lua | ||
lua5.3 | ||
mdadm | ||
mtd-utils | ||
nvram | ||
osafeloader | ||
oseama | ||
otrx | ||
policycoreutils | ||
px5g-mbedtls | ||
px5g-wolfssl | ||
ravpower-mcu | ||
secilc | ||
spidev_test | ||
ucode | ||
ucode-mod-bpf | ||
uencrypt | ||
ugps | ||
usbmode | ||
util-linux | ||
yafut | ||
zyxel-bootconfig |