linux smoke simulation, modified Makefile and added necessary header files including cstring