1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Forwarded: https://github.com/supertuxkart/stk-code/pull/5541
From 472a7e1edfd67a52982086dbc73a336e429b14ae Mon Sep 17 00:00:00 2001
From: Vincent Cheng <vcheng@debian.org>
Date: Sat, 25 Oct 2025 21:32:56 -0700
Subject: [PATCH] Fix build failure on Debian GNU/hurd
---
src/config/hardware_stats.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/config/hardware_stats.cpp b/src/config/hardware_stats.cpp
index 87021f3f4f1..b53c9c9117d 100644
--- a/src/config/hardware_stats.cpp
+++ b/src/config/hardware_stats.cpp
@@ -42,7 +42,7 @@
# include <sys/utsname.h>
# endif
#endif
-#if defined(__APPLE__) || defined(BSD)
+#if defined(__APPLE__) || (defined(BSD) && !defined(__gnu_hurd__))
# include <sys/sysctl.h>
#endif
|