diff --git a/libs/spandsp/src/alloc.c b/libs/spandsp/src/alloc.c index 3abe086c3c..273fad30d0 100644 --- a/libs/spandsp/src/alloc.c +++ b/libs/spandsp/src/alloc.c @@ -36,10 +36,11 @@ #if !defined(__USE_ISOC11) #define __USE_ISOC11 #endif -#include #if defined(__ISO_C_VISIBLE) && __ISO_C_VISIBLE < 2011 +#undef __ISO_C_VISIBLE #define __ISO_C_VISIBLE 2011 #endif +#include #if defined(HAVE_MALLOC_H) #include #endif