A change to spandsp/src/alloc.c which hopefully improves BSD compatibility

This commit is contained in:
Steve Underwood 2014-02-08 16:50:53 +08:00
parent a61edbd8dc
commit 4fa68fcd75
1 changed files with 3 additions and 0 deletions

View 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