]> git.dujemihanovic.xyz Git - u-boot.git/commit
errno: Avoid including strings in SPL
authorSimon Glass <sjg@chromium.org>
Mon, 28 Feb 2022 19:08:21 +0000 (12:08 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 6 Apr 2022 18:01:42 +0000 (14:01 -0400)
commit64aefc4800b7fb09d179ab1f0ede0363cff27856
treed9d5ea1990d09c14012dcf6092f6a29e82385eb3
parent3390948c0f5b51f5aa3bdaadebeda0b81a9ac0bd
errno: Avoid including strings in SPL

At present the header file defines this function in SPL but the file may
not actually be built. This causes a build error if the option is enabled.

Fix the condition in the header file.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/errno.h