]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
A change to spandsp/src/alloc.c which hopefully improves BSD compatibility
authorSteve Underwood <steveu@coppice.org>
Sat, 8 Feb 2014 08:50:53 +0000 (16:50 +0800)
committerSteve Underwood <steveu@coppice.org>
Sat, 8 Feb 2014 08:50:53 +0000 (16:50 +0800)
libs/spandsp/src/alloc.c

index b79aa166e7c109d5b70cba2d640aa444cc05b25e..3abe086c3c6c97553182905d93d335adbc4b1ff3 100644 (file)
@@ -37,6 +37,9 @@
 #define __USE_ISOC11
 #endif
 #include <stdlib.h>
+#if defined(__ISO_C_VISIBLE)  &&  __ISO_C_VISIBLE < 2011
+#define __ISO_C_VISIBLE 2011
+#endif
 #if defined(HAVE_MALLOC_H)
 #include <malloc.h>
 #endif