Thread (5 messages) 5 messages, 3 authors, 2023-01-27

Re: ethtool: introducing "-D_POSIX_C_SOURCE=200809L" breaks compilation with OpenWrt

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2023-01-24 23:28:43

On 12/27/22 07:23, Nick wrote:
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)
-- 
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help