mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
uml-utilities: Add missing headers for exit and str+ functions
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
e1eb39b36a
commit
d40f392732
@ -0,0 +1,64 @@
|
||||
From a1c4716ceaed6333f8be01b5d4d971e64babcdd7 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Fri, 2 Sep 2022 18:57:42 -0700
|
||||
Subject: [PATCH] Add missing standard headers for str* and exit APIs
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
jail/jail_uml | Bin 19120 -> 19120 bytes
|
||||
jail/jail_uml.c | 1 +
|
||||
port-helper/port-helper.c | 1 +
|
||||
uml_router/port.c | 1 +
|
||||
uml_router/uml_switch.c | 1 +
|
||||
watchdog/uml_watchdog.c | 1 +
|
||||
6 files changed, 5 insertions(+)
|
||||
|
||||
--- a/jail/jail_uml.c
|
||||
+++ b/jail/jail_uml.c
|
||||
@@ -1,5 +1,6 @@
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
+#include <stdlib.h> /* for exit */
|
||||
#include <errno.h>
|
||||
|
||||
static void Usage(void)
|
||||
--- a/port-helper/port-helper.c
|
||||
+++ b/port-helper/port-helper.c
|
||||
@@ -12,6 +12,7 @@ for read and write, and the console is f
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h> /* memset */
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
--- a/uml_router/port.c
|
||||
+++ b/uml_router/port.c
|
||||
@@ -1,5 +1,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h> /* memcmp */
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <sys/socket.h>
|
||||
--- a/uml_router/uml_switch.c
|
||||
+++ b/uml_router/uml_switch.c
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h> /* strcmp */
|
||||
#include <signal.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdint.h>
|
||||
--- a/watchdog/uml_watchdog.c
|
||||
+++ b/watchdog/uml_watchdog.c
|
||||
@@ -1,5 +1,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h> /* strcmp */
|
||||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
@ -7,6 +7,7 @@ SRC_URI = "http://downloads.sourceforge.net/project/user-mode-linux/tools/1/uml_
|
||||
file://fix-ldflags.patch \
|
||||
file://unstrip.patch \
|
||||
file://0001-include-required-system-header-files-for-fd_set-and-.patch \
|
||||
file://0001-Add-missing-standard-headers-for-str-and-exit-APIs.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "2c1ccd9efacbfb39e42d482b89b2550a"
|
||||
SRC_URI[sha256sum] = "4f179b1db021ef15ac7e9b2eed57c525db127a754c574f591c367460cded9f41"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user