1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
Index: elfutils-0.188/debuginfod/debuginfod-client.c
===================================================================
--- elfutils-0.188.orig/debuginfod/debuginfod-client.c 2022-11-13 15:20:25.177144304 -0500
+++ elfutils-0.188/debuginfod/debuginfod-client.c 2022-11-13 15:20:25.173144291 -0500
@@ -84,7 +84,9 @@
#include <regex.h>
#include <string.h>
#include <stdbool.h>
+#ifdef __linux__
#include <linux/limits.h>
+#endif
#include <time.h>
#include <utime.h>
#include <sys/syscall.h>
@@ -115,6 +117,10 @@
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. */
|