Import <bsd/stdlib.h> if not on a BSD system. Still needs LIBS=-lbsd.