[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <0723288b-b465-25d4-5070-d8aa80828b11@systemli.org>
Date: Tue, 27 Dec 2022 16:23:12 +0100
From: Nick <vincent@...temli.org>
To: netdev@...r.kernel.org
Subject: ethtool: introducing "-D_POSIX_C_SOURCE=200809L" breaks compilation
with OpenWrt
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
Powered by blists - more mailing lists