diff mbox series

[U-Boot,21/25] string: Include the config header

Message ID 20181106222142.94537-22-sjg@chromium.org
State Accepted
Commit 96794a3eaee9bf368efe475f0a040d0e08b09dc9
Delegated to: Simon Glass
Headers show
Series sandbox: Changes and improvements to support verified boot | expand

Commit Message

Simon Glass Nov. 6, 2018, 10:21 p.m. UTC
At present the config header is not included in this file, but it does use
a CONFIG option. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 lib/string.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Simon Glass Nov. 22, 2018, 8:20 p.m. UTC | #1
At present the config header is not included in this file, but it does use
a CONFIG option. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 lib/string.c | 1 +
 1 file changed, 1 insertion(+)

Applied to u-boot-dm/master, thanks!
diff mbox series

Patch

diff --git a/lib/string.c b/lib/string.c
index c4ca944bb42..af17c16f616 100644
--- a/lib/string.c
+++ b/lib/string.c
@@ -15,6 +15,7 @@ 
  *    reentrant and should be faster). Use only strsep() in new code, please.
  */
 
+#include <config.h>
 #include <linux/types.h>
 #include <linux/string.h>
 #include <linux/ctype.h>