remove compiler warnings (add "#include <stdlib.h>" when need)