1From 5217cb7c829cf87771096c4ce41fd4648dca47cb Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Mon, 29 Aug 2022 16:36:21 -0700 4Subject: [PATCH] include string,h from memcpy and strcpy function prototype 5 6Upstream-Status: Pending 7Signed-off-by: Khem Raj <raj.khem@gmail.com> 8--- 9 src/led/address.c | 1 + 10 src/led/display.c | 1 + 11 src/lib/unix.c | 1 + 12 src/maint/hediag.c | 1 + 13 src/sigd/kernel.c | 1 + 14 src/sigd/policy.c | 1 + 15 6 files changed, 6 insertions(+) 16 17diff --git a/src/led/address.c b/src/led/address.c 18index 574e881..b5c5fbb 100644 19--- a/src/led/address.c 20+++ b/src/led/address.c 21@@ -31,6 +31,7 @@ 22 #endif 23 24 #include <sys/ioctl.h> 25+#include <string.h> 26 #include <unistd.h> 27 #include <errno.h> 28 29diff --git a/src/led/display.c b/src/led/display.c 30index d78a15d..b835e89 100644 31--- a/src/led/display.c 32+++ b/src/led/display.c 33@@ -5,6 +5,7 @@ 34 #if HAVE_CONFIG_H 35 #include <config.h> 36 #endif 37+#include <string.h> 38 39 #include <atm.h> 40 #include <atmd.h> 41diff --git a/src/lib/unix.c b/src/lib/unix.c 42index 34aa465..d5bef54 100644 43--- a/src/lib/unix.c 44+++ b/src/lib/unix.c 45@@ -8,6 +8,7 @@ 46 47 #include <stdlib.h> 48 #include <stdio.h> 49+#include <string.h> 50 #include <unistd.h> 51 #include <errno.h> 52 #include <sys/types.h> 53diff --git a/src/maint/hediag.c b/src/maint/hediag.c 54index 8a4312a..a4f792f 100644 55--- a/src/maint/hediag.c 56+++ b/src/maint/hediag.c 57@@ -1,5 +1,6 @@ 58 #include <stdio.h> 59 #include <stdlib.h> 60+#include <string.h> 61 #include <unistd.h> 62 #include <sys/ioctl.h> 63 #include <sys/types.h> 64diff --git a/src/sigd/kernel.c b/src/sigd/kernel.c 65index 9ee74b1..2491626 100644 66--- a/src/sigd/kernel.c 67+++ b/src/sigd/kernel.c 68@@ -8,6 +8,7 @@ 69 70 #include <stdlib.h> 71 #include <stdio.h> 72+#include <string.h> 73 #include <errno.h> 74 #include <assert.h> 75 76diff --git a/src/sigd/policy.c b/src/sigd/policy.c 77index 2cfb42d..87223a7 100644 78--- a/src/sigd/policy.c 79+++ b/src/sigd/policy.c 80@@ -6,6 +6,7 @@ 81 #include <config.h> 82 #endif 83 84+#include <string.h> 85 #include <atm.h> 86 #include <atmd.h> 87 88