add "unistd.h" in DmpSimDetector.cc