void-packages/srcpkgs/xload/patches/fix-musl.patch

12 lines
303 B
Diff

--- a/get_rload.c
+++ b/get_rload.c
@@ -9,7 +9,7 @@
/* Not all OS supports get_rload
steal the STUB idea from get_load
*/
-#if defined(QNX4) || defined(__CYGWIN__) || defined(_WIN32)
+#if defined(QNX4) || defined(__CYGWIN__) || defined(_WIN32) || !defined(__GLIBC__)
#define RLOADSTUB
#endif