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