All of lore.kernel.org
 help / color / mirror / Atom feed
* ethtool: introducing "-D_POSIX_C_SOURCE=200809L" breaks compilation with OpenWrt
@ 2022-12-27 15:23 Nick
  2023-01-24 23:11 ` Nick
  2023-01-24 23:28 ` Florian Fainelli
  0 siblings, 2 replies; 5+ messages in thread
From: Nick @ 2022-12-27 15:23 UTC (permalink / raw)
  To: netdev

Commit 1fa60003a8b8 ("misc: header includes cleanup") [0] introduces 
"-D_POSIX_C_SOURCE=200809L".
However, this breaks compilation with OpenWrt resulting in following error:

> 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.

Bests
Nick

[0] - 
https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/commit/?id=1fa60003a8b8fa25d783867967860656f593822e


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-01-27  0:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-27 15:23 ethtool: introducing "-D_POSIX_C_SOURCE=200809L" breaks compilation with OpenWrt Nick
2023-01-24 23:11 ` Nick
2023-01-24 23:28 ` Florian Fainelli
2023-01-25 11:26   ` Nick
2023-01-27  0:10     ` Florian Fainelli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.