modify mmap header file