mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 06:16:04 +01:00
linux-atm: Include missing string.h
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
c52b9e1a93
commit
a1917e5bde
|
|
@ -0,0 +1,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>
|
||||
|
||||
|
|
@ -14,7 +14,8 @@ SRC_URI = "http://nchc.dl.sourceforge.net/project/${BPN}/${BPN}/${PV}/${BPN}-${P
|
|||
file://0001-IFNAMSIZ-is-defined-in-net-if.h.patch \
|
||||
file://0001-saaldump-atmdump-Include-linux-sockios.h-for-SIOCGST.patch \
|
||||
file://0001-make-Add-PREFIX-knob.patch \
|
||||
"
|
||||
file://0001-include-string-h-from-memcpy-and-strcpy-function-pro.patch \
|
||||
"
|
||||
|
||||
SRC_URI:append:libc-musl = " file://musl-no-on_exit.patch"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user