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

12 lines
299 B
Diff

--- get_rload.c
+++ 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