aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/linux-atm/linux-atm/0001-include-string-h-from-memcpy-and-strcpy-function-pro.patch
blob: 81c5efd1731f9eac1a71f4cad3dab44f6f59e920 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
From 5217cb7c829cf87771096c4ce41fd4648dca47cb Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 29 Aug 2022 16:36:21 -0700
Subject: [PATCH] include string,h from memcpy and strcpy function prototype

Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 src/led/address.c  | 1 +
 src/led/display.c  | 1 +
 src/lib/unix.c     | 1 +
 src/maint/hediag.c | 1 +
 src/sigd/kernel.c  | 1 +
 src/sigd/policy.c  | 1 +
 6 files changed, 6 insertions(+)

diff --git a/src/led/address.c b/src/led/address.c
index 574e881..b5c5fbb 100644
--- a/src/led/address.c
+++ b/src/led/address.c
@@ -31,6 +31,7 @@
 #endif
 
 #include <sys/ioctl.h>
+#include <string.h>
 #include <unistd.h>
 #include <errno.h>
 
diff --git a/src/led/display.c b/src/led/display.c
index d78a15d..b835e89 100644
--- a/src/led/display.c
+++ b/src/led/display.c
@@ -5,6 +5,7 @@
 #if HAVE_CONFIG_H
 #include <config.h>
 #endif
+#include <string.h>
 
 #include <atm.h>
 #include <atmd.h>
diff --git a/src/lib/unix.c b/src/lib/unix.c
index 34aa465..d5bef54 100644
--- a/src/lib/unix.c
+++ b/src/lib/unix.c
@@ -8,6 +8,7 @@
 
 #include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
 #include <unistd.h>
 #include <errno.h>
 #include <sys/types.h>
diff --git a/src/maint/hediag.c b/src/maint/hediag.c
index 8a4312a..a4f792f 100644
--- a/src/maint/hediag.c
+++ b/src/maint/hediag.c
@@ -1,5 +1,6 @@
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <unistd.h>
 #include <sys/ioctl.h>
 #include <sys/types.h>
diff --git a/src/sigd/kernel.c b/src/sigd/kernel.c
index 9ee74b1..2491626 100644
--- a/src/sigd/kernel.c
+++ b/src/sigd/kernel.c
@@ -8,6 +8,7 @@
 
 #include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
 #include <errno.h>
 #include <assert.h>
 
diff --git a/src/sigd/policy.c b/src/sigd/policy.c
index 2cfb42d..87223a7 100644
--- a/src/sigd/policy.c
+++ b/src/sigd/policy.c
@@ -6,6 +6,7 @@
 #include <config.h>
 #endif
 
+#include <string.h>
 #include <atm.h>
 #include <atmd.h>