diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index be9a32a7c..6be41960c 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -194,3 +194,6 @@ In chronological order: * PingTouGe Semiconductor Co., Ltd. * [2020-10] Add RISC-V Vector (0.7.1) support. Optimize BLAS kernels for Xuantie C910 + +* River Dillon + * [2021-07-10] fix compilation with musl libc diff --git a/driver/others/memory.c b/driver/others/memory.c index 63fa6a566..6e654ccf2 100644 --- a/driver/others/memory.c +++ b/driver/others/memory.c @@ -1702,7 +1702,6 @@ inline int atoi(const char *str) { return 0; } #include #include #include -#include #include #include #include diff --git a/openblas_config_template.h b/openblas_config_template.h index 858b8c5cb..1e17c9a16 100644 --- a/openblas_config_template.h +++ b/openblas_config_template.h @@ -99,5 +99,6 @@ typedef int blasint; /* Inclusion of Linux-specific header is needed for definition of cpu_set_t. */ #ifdef OPENBLAS_OS_LINUX +#define _GNU_SOURCE #include #endif