From: Steve Underwood Date: Sat, 8 Feb 2014 08:50:53 +0000 (+0800) Subject: A change to spandsp/src/alloc.c which hopefully improves BSD compatibility X-Git-Tag: v1.5.8~25^2~196 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fa68fcd756bdddafda4a40e209478ccb4184d6e;p=thirdparty%2Ffreeswitch.git A change to spandsp/src/alloc.c which hopefully improves BSD compatibility --- 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