From 12c0ac23a8cef9f15a43006ae294028ea8ed9c70 Mon Sep 17 00:00:00 2001 From: Debian Elfutils Maintainers Date: Tue, 4 Jul 2023 10:37:16 +0100 Subject: [PATCH] kfreebsd-debuginfod =================================================================== Gbp-Pq: Name kfreebsd-debuginfod --- debuginfod/debuginfod-client.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debuginfod/debuginfod-client.c b/debuginfod/debuginfod-client.c index ef4d47e..180b4da 100644 --- a/debuginfod/debuginfod-client.c +++ b/debuginfod/debuginfod-client.c @@ -84,7 +84,9 @@ void debuginfod_end (debuginfod_client *c) { } #include #include #include +#ifdef __linux__ #include +#endif #include #include #include @@ -122,6 +124,10 @@ libcurl_init(void) curl_global_init(CURL_GLOBAL_DEFAULT); } +#ifndef ETIME +#define ETIME ETIMEDOUT /* Timer expired, fallback if not found in errno.h like on Linux */ +#endif + struct debuginfod_client { /* Progress/interrupt callback function. */ -- 2.30.2