Re: ethtool: introducing "-D_POSIX_C_SOURCE=200809L" breaks compilation with OpenWrt
From: Nick <hidden>
Date: 2023-01-25 11:26:23
From: Nick <hidden>
Date: 2023-01-25 11:26:23
Indeed, it is fixed by those patches. Thanks! Why are they still not merged? On 1/25/23 00:28, Florian Fainelli wrote:
On 12/27/22 07:23, Nick wrote:quoted
Commit 1fa60003a8b8 ("misc: header includes cleanup") [0] introduces "-D_POSIX_C_SOURCE=200809L". However, this breaks compilation with OpenWrt resulting in following error:quoted
marvell.c: In function 'dump_queue': marvell.c:34:17: error: unknown type name 'u_int32_t' 34 | u_int32_t ctl; | ^~~~~~~~~Not sure, why the code uses u_int32_t.Should be fixed with: https://lore.kernel.org/netdev/20230114163411.3290201-1-f.fainelli@gmail.com/T/ (local)