From: Debian Elfutils Maintainers Date: Tue, 12 Mar 2024 10:42:59 +0000 (+0100) Subject: kfreebsd-debuginfod X-Git-Tag: archive/raspbian/0.191-2+rpi1~1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ab07875cbc1efe52ff7c10757351dfbc24ba89dd;p=elfutils.git kfreebsd-debuginfod =================================================================== Gbp-Pq: Name kfreebsd-debuginfod --- diff --git a/debuginfod/debuginfod-client.c b/debuginfod/debuginfod-client.c index 0ee7db3..d18fd3c 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. */