string: Include the config header
authorSimon Glass <sjg@chromium.org>
Tue, 6 Nov 2018 22:21:38 +0000 (15:21 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Nov 2018 02:14:22 +0000 (19:14 -0700)
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

index c4ca944bb42c0cabcea15a3cce3aca4f6fbf9029..af17c16f616db4b8afc71cb55b31ad394457636b 100644 (file)
@@ -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>