summaryrefslogtreecommitdiff
path: root/lib/string.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-11-06 15:21:38 -0700
committerSimon Glass <sjg@chromium.org>2018-11-20 19:14:22 -0700
commit96794a3eaee9bf368efe475f0a040d0e08b09dc9 (patch)
tree1abb59c50a1cbb689efaa7347a23c5a61b40f3c6 /lib/string.c
parentb9f210a35c39a191ca375e541e09686a3303e428 (diff)
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>
Diffstat (limited to 'lib/string.c')
-rw-r--r--lib/string.c1
1 files changed, 1 insertions, 0 deletions
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>