diff --git a/include/bsd/stdlib.h b/include/bsd/stdlib.h index 51c58e8..e404bdb 100644 --- a/include/bsd/stdlib.h +++ b/include/bsd/stdlib.h @@ -51,7 +51,7 @@ #include __BEGIN_DECLS -#if !defined(__APPLE__) +#if !defined(__APPLE__) && !defined(__sun) #if !defined(__GLIBC__) || \ !__GLIBC_PREREQ(2, 36) || \ !defined(_DEFAULT_SOURCE)