From 4fa68fcd756bdddafda4a40e209478ccb4184d6e Mon Sep 17 00:00:00 2001 From: Steve Underwood Date: Sat, 8 Feb 2014 16:50:53 +0800 Subject: [PATCH] A change to spandsp/src/alloc.c which hopefully improves BSD compatibility --- libs/spandsp/src/alloc.c | 3 +++ 1 file changed, 3 insertions(+) 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