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

Simon Glass sjg at chromium.org
Tue Nov 6 22:21:38 UTC 2018


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 at 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>
-- 
2.19.1.930.g4563a0d9d0-goog



More information about the U-Boot mailing list