Added #include <stdlib.h> to DB

Might fix the compile issue, no idea why it doesn't affect my comp
though.