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

Simon Glass
2018-11-06T22:21:38Z

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