From: Simon Glass <sjg@chromium.org>
Date: Tue, 6 Nov 2018 22:21:38 +0000 (-0700)
Subject: string: Include the config header
X-Git-Tag: v2025.01-rc5-pxa1908~3271^2~3
X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-favicon.png?a=commitdiff_plain;h=96794a3eaee9bf368efe475f0a040d0e08b09dc9;p=u-boot.git

string: Include the config header

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>
---

diff --git a/lib/string.c b/lib/string.c
index c4ca944bb4..af17c16f61 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>