From patchwork Tue May 16 18:25:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 91883 Received: from [127.0.0.1] by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from ) id 1pyzMS-005FPe-HW; Tue, 16 May 2023 18:25:24 +0000 Received: from mailout12.t-online.de ([194.25.134.22]) by www.linuxtv.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pyzMP-005FOX-Vh for vdr@linuxtv.org; Tue, 16 May 2023 18:25:23 +0000 Received: from fwd84.dcpf.telekom.de (fwd84.aul.t-online.de [10.223.144.110]) by mailout12.t-online.de (Postfix) with SMTP id E5FC81A4CB; Tue, 16 May 2023 20:25:20 +0200 (CEST) Received: from fli4l.lan.fli4l ([91.58.6.127]) by fwd84.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1pyzMO-3zSupt0; Tue, 16 May 2023 20:25:20 +0200 Received: from bruckner.lan.fli4l ([192.168.1.1]:53826) by fli4l.lan.fli4l with esmtp (Exim 4.96) (envelope-from ) id 1pyzMO-0007vP-1B; Tue, 16 May 2023 20:25:20 +0200 From: Bernd Kuhls To: vdr@linuxtv.org Date: Tue, 16 May 2023 20:25:15 +0200 Message-Id: <20230516182517.999918-2-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230516182517.999918-1-bernd.kuhls@t-online.de> References: <20230516182517.999918-1-bernd.kuhls@t-online.de> MIME-Version: 1.0 X-Spam-Score: -2.5 (--) X-TOI-EXPURGATEID: 150726::1684261520-5AE6F570-7A21839A/0/0 CLEAN NORMAL X-TOI-MSGID: 9f2be6fc-7309-4d7d-af49-988bb3291ee5 X-LSpam-Score: -1.9 (-) X-LSpam-Report: No, score=-1.9 required=5.0 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001 autolearn=ham autolearn_force=no Subject: [vdr] [PATCH 2/4] Include limits.h X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: VDR Mailing List Cc: Roberto Oliveira Errors-To: vdr-bounces@linuxtv.org Sender: "vdr" From: Roberto Oliveira vdr package uses some macros like HOST_NAME_MAX, NAME_MAX, which are defined in limits.h. Needs to be explicitly included on ppc64le and for all archs for debug build. Downloaded from https://git.alpinelinux.org/aports/tree/community/vdr/include-missing-limits.patch Initial commits: https://git.alpinelinux.org/aports/commit/?id=c9d8942ccf4825fd734b5f37157a49fc4f0b4339 https://git.alpinelinux.org/aports/commit/?id=47965644c390b1be1117769b1e08b31858267e9a Signed-off-by: Bernd Kuhls --- config.h | 1 + tools.c | 1 + 2 files changed, 2 insertions(+) diff --git a/config.h b/config.h index 72dd3d2a..b9ea769f 100644 --- a/config.h +++ b/config.h @@ -19,6 +19,7 @@ #include "i18n.h" #include "font.h" #include "tools.h" +#include // VDR's own version number: diff --git a/tools.c b/tools.c index 8b161eec..56a2e0dd 100644 --- a/tools.c +++ b/tools.c @@ -27,6 +27,7 @@ extern "C" { #include #include "i18n.h" #include "thread.h" +#include int SysLogLevel = 3;