Closed 5schatten closed 5 years ago
Description If you use SZ_1M to define READ_BUF_SIZE you also need to include the sizes.h header file which is apparently missing. SZ_1M is defined as 0x00100000 so it should be replaced by this value.
https://github.com/irtimmer/moonlight-embedded/blob/master/src/video/rk.c#L41 https://cregit.linuxsources.org/code/4.14/include/linux/sizes.h.html
Purpose
Fix build for a Rockchip RK3399 project. Otherwise compilation fails because SZ_1M isn't declared.
SZ_1M
Description If you use SZ_1M to define READ_BUF_SIZE you also need to include the sizes.h header file which is apparently missing. SZ_1M is defined as 0x00100000 so it should be replaced by this value.
https://github.com/irtimmer/moonlight-embedded/blob/master/src/video/rk.c#L41 https://cregit.linuxsources.org/code/4.14/include/linux/sizes.h.html
Purpose
Fix build for a Rockchip RK3399 project. Otherwise compilation fails because
SZ_1M
isn't declared.