diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-03-29 06:49:44 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-03-29 06:49:47 +0100 |
commit | 88ffe722784491f0f6bbd3a8719b5de3db5a6853 (patch) | |
tree | fbc249d92125ed68398cfbf66ac1d685278cf06f | |
parent | 0ae451a7bc4a8e7dcffd66c727fb959e78af8f66 (diff) | |
download | barebox-88ffe722784491f0f6bbd3a8719b5de3db5a6853.tar.gz barebox-88ffe722784491f0f6bbd3a8719b5de3db5a6853.tar.xz |
string.c: Fix include
string.c needs string.h, otherwise we get:
lib/string.c:730: warning: no previous prototype for 'memdup'
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | lib/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/string.c b/lib/string.c index ceced7f48e..6a39eb5ced 100644 --- a/lib/string.c +++ b/lib/string.c @@ -16,7 +16,7 @@ */ #include <linux/types.h> -#include <linux/string.h> +#include <string.h> #include <linux/ctype.h> #include <malloc.h> |