On 5/8/23 07:30, Mark Brown wrote:
When we added fd based file streams we created references to STx_FILENO in stdio.h but these constants are declared in unistd.h which is the last file included by the top level nolibc.h meaning those constants are not defined when we try to build stdio.h. This causes programs using nolibc.h to fail to build.
Reorder the headers to avoid this issue.
Fixes: d449546c957f ("tools/nolibc: implement fd-based FILE streams") Acked-by: Willy Tarreau w@1wt.eu Signed-off-by: Mark Brown broonie@kernel.org
Applied now to linux-kselftest fixes for 6.4-rc2
thanks, -- Shuah