kfreebsd-debuginfod
authorDebian Elfutils Maintainers <debian-gcc@lists.debian.org>
Wed, 29 Oct 2025 05:57:58 +0000 (06:57 +0100)
committerMatthias Klose <doko@debian.org>
Wed, 29 Oct 2025 05:57:58 +0000 (06:57 +0100)
Gbp-Pq: Name kfreebsd-debuginfod

debuginfod/debuginfod-client.c

index f7d125615d735f49d235530112b55d1d2e69c5d8..c5bee7959940e6d372118bdddcd55b4d75f17436 100644 (file)
@@ -97,7 +97,9 @@ void debuginfod_end (debuginfod_client *c) { }
 #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>
@@ -156,6 +158,10 @@ struct public_key_entry
 #endif
 
 
+#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. */