mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
Import upstream pull request https://github.com/UweOhse/lrzsz/pull/8 to fix GCC 15.x build issues. This pull request also replaces our patch 0002, which is dropped by this commit. Fixes: https://autobuild.buildroot.net/results/a1a5aad2ccc69aeff586d7a83620f10d51ccfdb6/ Signed-off-by: Frank Chung <uuidxx@163.com> [Thomas: - Added two more backports needed to fix the build - Used the actual patch submitted in the pull request, rendering our 0002 patch useless - Defined ac_cv_type_signal as a workaround to a configure script issue] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
27 lines
648 B
Diff
27 lines
648 B
Diff
From bbbaccd80c69a705f27e9236808d42088cf1f1cb Mon Sep 17 00:00:00 2001
|
|
From: Uwe Ohse <uwe@ohse.de>
|
|
Date: Mon, 2 Mar 2020 22:38:16 +0000
|
|
Subject: [PATCH] include stdio.h to remove warning
|
|
|
|
Upstream: https://github.com/UweOhse/lrzsz/commit/937a2ff696fb600672eb0e8fab87f75d5e4fbc25
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
|
---
|
|
src/lsyslog.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/lsyslog.c b/src/lsyslog.c
|
|
index 6baf4a2..d21ab35 100644
|
|
--- a/src/lsyslog.c
|
|
+++ b/src/lsyslog.c
|
|
@@ -24,6 +24,7 @@
|
|
#include <pwd.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
+#include <stdio.h>
|
|
#endif
|
|
|
|
#if __STDC__
|
|
--
|
|
2.50.1
|
|
|