xload: fix musl builds.

This commit is contained in:
maxice8 2018-03-10 13:31:33 -03:00 committed by Leаh Neukirchen
parent d8e3ac2e8f
commit a119517137
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- 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