From: Jeff Mahoney <jeffm@suse.com>
Date: Wed, 9 Jun 2010 20:01:10 +0000 (-0400)
Subject: Staging: wlags49_h2: add missing <linux/string.h> for strlen
X-Git-Tag: firefly_0821_release~9833^2~1457^2~8
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8174fc04e8e71b3969a45c9be288f6535d6b90d3;p=firefly-linux-kernel-4.4.55.git

Staging: wlags49_h2: add missing <linux/string.h> for strlen

On ia64, the build fails with incompatible implicit definition of strlen.
This patch adds the <linux/string.h> include to get the real prototype.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---

diff --git a/drivers/staging/wlags49_h2/wl_enc.c b/drivers/staging/wlags49_h2/wl_enc.c
index 48c44c8fdb28..26cf5486edd6 100644
--- a/drivers/staging/wlags49_h2/wl_enc.c
+++ b/drivers/staging/wlags49_h2/wl_enc.c
@@ -62,6 +62,7 @@
 /*******************************************************************************
  *  include files
  ******************************************************************************/
+#include <linux/string.h>
 #include <wl_version.h>
 
 #include <debug.h>