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

Message ID 20181106222142.94537-22-sjg@chromium.org
State New
Delegated to: Simon Glass
Headers show
  • sandbox: Changes and improvements to support verified boot
Related show

Commit Message

Simon Glass Nov. 6, 2018, 10:21 p.m.
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(+)


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>