]> git.baikalelectronics.ru Git - uboot.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)
commite24033e9ab1ffa67b6688e54f79a9a327df20142
treed9d5ea1990d09c14012dcf6092f6a29e82385eb3
parentfe80654378e4e7d26bd0041c9602cc8f1736a98f
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