- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
40 lines
876 B
Diff
40 lines
876 B
Diff
From e9ed48d91642d384ce07cbb9bec788f07fc6354c Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Tue, 6 Sep 2022 14:51:42 -0700
|
|
Subject: [PATCH] tftp: Remove double inclusion of signal.h
|
|
|
|
Undefine __USE_XOPEN2K8 so we can get bsd_signal definition from system
|
|
headers
|
|
|
|
Upstream-Status: Pending
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
---
|
|
config.h | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/config.h b/config.h
|
|
index 3ff2915..ae1a14b 100644
|
|
--- a/config.h
|
|
+++ b/config.h
|
|
@@ -93,7 +93,6 @@
|
|
#endif
|
|
|
|
#include <errno.h>
|
|
-#include <signal.h>
|
|
|
|
#ifdef HAVE_SYS_SOCKET_H
|
|
#include <sys/socket.h>
|
|
@@ -296,6 +295,9 @@ char *xstrdup(const char *);
|
|
|
|
#ifndef HAVE_BSD_SIGNAL
|
|
void (*bsd_signal(int, void (*)(int))) (int);
|
|
+#else
|
|
+#undef __USE_XOPEN2K8
|
|
+#include <signal.h>
|
|
#endif
|
|
#ifndef HAVE_DUP2
|
|
int dup2(int, int);
|
|
--
|
|
2.37.3
|
|
|