tool: add srand's header(stdlib.h) for randnum