From: Debian Elfutils Maintainers Date: Sat, 14 Jan 2023 13:54:50 +0000 (+0000) Subject: kfreebsd-debuginfod X-Git-Tag: archive/raspbian/0.188-2.1+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=12e6ea7576bba6860ee8dafe1595997e925f19e7;p=elfutils.git kfreebsd-debuginfod =================================================================== Gbp-Pq: Name kfreebsd-debuginfod --- diff --git a/debuginfod/debuginfod-client.c b/debuginfod/debuginfod-client.c index 0c4a00c..20759ce 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 @@ -115,6 +117,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. */