diff --git a/libs/spandsp/src/alloc.c b/libs/spandsp/src/alloc.c index b79aa166e7..3abe086c3c 100644 --- a/libs/spandsp/src/alloc.c +++ b/libs/spandsp/src/alloc.c @@ -37,6 +37,9 @@ #define __USE_ISOC11 #endif #include +#if defined(__ISO_C_VISIBLE) && __ISO_C_VISIBLE < 2011 +#define __ISO_C_VISIBLE 2011 +#endif #if defined(HAVE_MALLOC_H) #include #endif